pub enum IpSendFrameErrorReason {
Device(SendFrameErrorReason),
IllegalLoopbackAddress,
}
Expand description
Send error cause for IpSendFrameError
.
Variants§
Device(SendFrameErrorReason)
Error comes from the device layer.
IllegalLoopbackAddress
The frame’s source or destination address is in the loopback subnet, but the target device is not the loopback device.
Trait Implementations§
Source§impl Debug for IpSendFrameErrorReason
impl Debug for IpSendFrameErrorReason
Source§impl From<SendFrameErrorReason> for IpSendFrameErrorReason
impl From<SendFrameErrorReason> for IpSendFrameErrorReason
Source§fn from(value: SendFrameErrorReason) -> Self
fn from(value: SendFrameErrorReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IpSendFrameErrorReason
impl PartialEq for IpSendFrameErrorReason
impl StructuralPartialEq for IpSendFrameErrorReason
Auto Trait Implementations§
impl Freeze for IpSendFrameErrorReason
impl RefUnwindSafe for IpSendFrameErrorReason
impl Send for IpSendFrameErrorReason
impl Sync for IpSendFrameErrorReason
impl Unpin for IpSendFrameErrorReason
impl UnwindSafe for IpSendFrameErrorReason
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
Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more