pub enum ForwardMulticastRouteError {
EmptyTargetList,
InputInterfaceIsTarget,
DuplicateTarget,
}
Expand description
Errors returned by MulticastRoute::new_forward
.
Variants§
EmptyTargetList
The route’s list of targets is empty.
InputInterfaceIsTarget
The route’s input_interface
is also listed as a target. This would
create a routing loop.
DuplicateTarget
The route lists the same [Target
] output_interface multiple times.
Trait Implementations§
Source§impl Debug for ForwardMulticastRouteError
impl Debug for ForwardMulticastRouteError
impl Eq for ForwardMulticastRouteError
impl StructuralPartialEq for ForwardMulticastRouteError
Auto Trait Implementations§
impl Freeze for ForwardMulticastRouteError
impl RefUnwindSafe for ForwardMulticastRouteError
impl Send for ForwardMulticastRouteError
impl Sync for ForwardMulticastRouteError
impl Unpin for ForwardMulticastRouteError
impl UnwindSafe for ForwardMulticastRouteError
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