#[non_exhaustive]pub enum InterfaceSendError {
DestinationLocal,
NoRouteToDest,
InterfaceFull,
PlaceholderOhNo,
AnyPortMissingKey,
TtlExpired,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DestinationLocal
Refusing to send local destination remotely
NoRouteToDest
Interface Manager does not know how to route to requested destination
InterfaceFull
Interface Manager found a destination interface, but that interface was full in space/slots
PlaceholderOhNo
TODO: Remove
AnyPortMissingKey
Destination was an “any” port, but a key was not provided
TtlExpired
TTL has reached the terminal value
Implementations§
Source§impl InterfaceSendError
impl InterfaceSendError
pub fn to_error(&self) -> ProtocolError
Trait Implementations§
Source§impl Debug for InterfaceSendError
impl Debug for InterfaceSendError
Source§impl PartialEq for InterfaceSendError
impl PartialEq for InterfaceSendError
impl Eq for InterfaceSendError
impl StructuralPartialEq for InterfaceSendError
Auto Trait Implementations§
impl Freeze for InterfaceSendError
impl RefUnwindSafe for InterfaceSendError
impl Send for InterfaceSendError
impl Sync for InterfaceSendError
impl Unpin for InterfaceSendError
impl UnwindSafe for InterfaceSendError
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