pub enum PayloadRouteEvent {
IgnoredFrame,
SessionEstablished {
runtime: PayloadRuntimeKey,
route_ids: Arc<[PayloadRouteId]>,
epoch: u64,
fec_k: usize,
fec_n: usize,
},
Payload {
runtime: PayloadRuntimeKey,
route_ids: Arc<[PayloadRouteId]>,
payload: RecoveredPayload,
},
}Expand description
Event emitted by route-manager processing.
Variants§
IgnoredFrame
Frame did not match any configured route or usable payload.
SessionEstablished
A WFB session packet established or refreshed a runtime session.
Fields
§
runtime: PayloadRuntimeKeyRuntime whose WFB session changed.
§
route_ids: Arc<[PayloadRouteId]>Route ids attached to the runtime.
Payload
A recovered payload was emitted by a runtime.
Fields
§
runtime: PayloadRuntimeKeyRuntime that recovered the payload.
§
route_ids: Arc<[PayloadRouteId]>Route ids that should receive the payload.
§
payload: RecoveredPayloadRecovered payload bytes and packet metadata.
Trait Implementations§
Source§impl Clone for PayloadRouteEvent
impl Clone for PayloadRouteEvent
Source§fn clone(&self) -> PayloadRouteEvent
fn clone(&self) -> PayloadRouteEvent
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 moreSource§impl Debug for PayloadRouteEvent
impl Debug for PayloadRouteEvent
impl Eq for PayloadRouteEvent
Source§impl PartialEq for PayloadRouteEvent
impl PartialEq for PayloadRouteEvent
Source§fn eq(&self, other: &PayloadRouteEvent) -> bool
fn eq(&self, other: &PayloadRouteEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PayloadRouteEvent
Auto Trait Implementations§
impl Freeze for PayloadRouteEvent
impl RefUnwindSafe for PayloadRouteEvent
impl Send for PayloadRouteEvent
impl Sync for PayloadRouteEvent
impl Unpin for PayloadRouteEvent
impl UnsafeUnpin for PayloadRouteEvent
impl UnwindSafe for PayloadRouteEvent
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