pub struct Name { /* private fields */ }Implementations§
Source§impl Name
impl Name
pub fn root() -> Self
pub fn size(&self) -> usize
pub fn is_root(&self) -> bool
pub fn is_fqdn(&self) -> bool
pub fn to_fqdn(self) -> Self
pub fn append(self, other: Name) -> Self
pub fn write_network_bytes<T>(&self, out: T) -> Result<(), MtopError>where
T: WriteBytesExt,
pub fn read_network_bytes<T>(inp: T) -> Result<Self, MtopError>where
T: ReadBytesExt + Seek,
Trait Implementations§
impl Eq for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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