Home
last modified time | relevance | path

Searched refs:RecordType (Results 1 – 1 of 1) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dmld.rs18 pub enum RecordType(u8) {
214 pub fn record_type(&self) -> RecordType { in record_type() argument
216 RecordType::from(data[field::RECORD_TYPE]) in record_type()
257 pub fn set_record_type(&mut self, rty: RecordType) { in set_record_type() argument
492 assert_eq!(addr_rcrd.record_type(), RecordType::ModeIsInclude); in test_record_deconstruct()
512 addr_rcrd.set_record_type(RecordType::ModeIsInclude); in test_record_construct()