pub struct EncodedName(/* private fields */);
Expand description
NetBIOS Name
Implementations§
Source§impl EncodedName
impl EncodedName
Sourcepub fn decode(&self) -> Result<NetbiosName, NetbiosError<&[u8]>>
pub fn decode(&self) -> Result<NetbiosName, NetbiosError<&[u8]>>
Attempt to decode the NetBIOS Name and return the decoded name and type
pub fn raw_str(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EncodedName
impl RefUnwindSafe for EncodedName
impl Send for EncodedName
impl Sync for EncodedName
impl Unpin for EncodedName
impl UnwindSafe for EncodedName
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