pub struct NetbiosName {
pub nb_name: String,
pub nb_type: NetbiosNameType,
}Expand description
NetBIOS Name
Fields§
§nb_name: String§nb_type: NetbiosNameTypeImplementations§
Source§impl NetbiosName
impl NetbiosName
pub fn from_bytes(i: &[u8]) -> Result<Self, NetbiosError<&'static [u8]>>
Trait Implementations§
Source§impl Debug for NetbiosName
impl Debug for NetbiosName
Source§impl Display for NetbiosName
impl Display for NetbiosName
Source§impl PartialEq for NetbiosName
impl PartialEq for NetbiosName
Source§fn eq(&self, other: &NetbiosName) -> bool
fn eq(&self, other: &NetbiosName) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NetbiosName
Auto Trait Implementations§
impl Freeze for NetbiosName
impl RefUnwindSafe for NetbiosName
impl Send for NetbiosName
impl Sync for NetbiosName
impl Unpin for NetbiosName
impl UnsafeUnpin for NetbiosName
impl UnwindSafe for NetbiosName
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