pub enum SwitchError {
UnknownLink,
NotValidated,
WrongInterface,
HopMismatch,
}Variants§
Trait Implementations§
Source§impl Clone for SwitchError
impl Clone for SwitchError
Source§fn clone(&self) -> SwitchError
fn clone(&self) -> SwitchError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SwitchError
Source§impl Debug for SwitchError
impl Debug for SwitchError
impl Eq for SwitchError
Source§impl PartialEq for SwitchError
impl PartialEq for SwitchError
impl StructuralPartialEq for SwitchError
Auto Trait Implementations§
impl Freeze for SwitchError
impl RefUnwindSafe for SwitchError
impl Send for SwitchError
impl Sync for SwitchError
impl Unpin for SwitchError
impl UnsafeUnpin for SwitchError
impl UnwindSafe for SwitchError
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