#[non_exhaustive]pub struct InvalidNetworkInterface { /* private fields */ }Expand description
A reason a vehicle network interface isn't valid.
Implementations§
source§impl InvalidNetworkInterface
impl InvalidNetworkInterface
sourcepub fn interface_id(&self) -> Option<&str>
pub fn interface_id(&self) -> Option<&str>
The ID of the interface that isn't valid.
sourcepub fn reason(&self) -> Option<&NetworkInterfaceFailureReason>
pub fn reason(&self) -> Option<&NetworkInterfaceFailureReason>
A message about why the interface isn't valid.
source§impl InvalidNetworkInterface
impl InvalidNetworkInterface
sourcepub fn builder() -> InvalidNetworkInterfaceBuilder
pub fn builder() -> InvalidNetworkInterfaceBuilder
Creates a new builder-style object to manufacture InvalidNetworkInterface.
Trait Implementations§
source§impl Clone for InvalidNetworkInterface
impl Clone for InvalidNetworkInterface
source§fn clone(&self) -> InvalidNetworkInterface
fn clone(&self) -> InvalidNetworkInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InvalidNetworkInterface
impl Debug for InvalidNetworkInterface
source§impl PartialEq<InvalidNetworkInterface> for InvalidNetworkInterface
impl PartialEq<InvalidNetworkInterface> for InvalidNetworkInterface
source§fn eq(&self, other: &InvalidNetworkInterface) -> bool
fn eq(&self, other: &InvalidNetworkInterface) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InvalidNetworkInterface
Auto Trait Implementations§
impl RefUnwindSafe for InvalidNetworkInterface
impl Send for InvalidNetworkInterface
impl Sync for InvalidNetworkInterface
impl Unpin for InvalidNetworkInterface
impl UnwindSafe for InvalidNetworkInterface
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