Struct simple_dns::rdata::HINFO
source · pub struct HINFO<'a> {
pub cpu: CharacterString<'a>,
pub os: CharacterString<'a>,
}
Expand description
HINFO records are used to acquire general information about a host.
The main use is for protocols such as FTP that can use special procedures
when talking between machines or operating systems of the same type.
Fields§
§cpu: CharacterString<'a>
A CharacterString which specifies the CPU type.
os: CharacterString<'a>
A CharacterString which specifies the operating system type.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for HINFO<'a>
impl<'a> PartialEq for HINFO<'a>
impl<'a> Eq for HINFO<'a>
impl<'a> StructuralPartialEq for HINFO<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HINFO<'a>
impl<'a> Send for HINFO<'a>
impl<'a> Sync for HINFO<'a>
impl<'a> Unpin for HINFO<'a>
impl<'a> UnwindSafe for HINFO<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more