[−][src]Struct ethox::nic::Personality
A general description of a device.
The interaction with these happens purely via methods. This leaves the implementation open to additions in the future, primarily concerning support for other protocols with support from significant network cards.
Methods
impl Personality
[src]
pub fn baseline() -> Self
[src]
A personality with no extras.
Indicates no support for any upper layer protocols nor does it advertise specific builtin addressing, it does not even provide serial numbers, or manufacturer details. Populate this with your own details as you see fit.
pub fn capabilities(&self) -> &Capabilities
[src]
Check the capabilities of the interface.
pub fn capabilities_mut(&mut self) -> &mut Capabilities
[src]
Mutably get the capabilities which allows for modifications.
Trait Implementations
impl Clone for Personality
[src]
fn clone(&self) -> Personality
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Personality
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,