pub struct PayloadChannelRuntime { /* private fields */ }Expand description
One route-manager runtime for a single WFB/OpenIPC channel and key slot.
A runtime can be backed by the real WFB PayloadPipeline or by a fully
synthetic MockPayloadPipeline. Route IDs attached to the same runtime
share the same recovered payload stream.
Implementations§
Source§impl PayloadChannelRuntime
impl PayloadChannelRuntime
Sourcepub fn channel_id(&self) -> ChannelId
pub fn channel_id(&self) -> ChannelId
Return this runtime’s channel id.
Sourcepub fn route_ids(&self) -> &[PayloadRouteId]
pub fn route_ids(&self) -> &[PayloadRouteId]
Return the route ids attached to this runtime.
Trait Implementations§
Source§impl Clone for PayloadChannelRuntime
impl Clone for PayloadChannelRuntime
Source§fn clone(&self) -> PayloadChannelRuntime
fn clone(&self) -> PayloadChannelRuntime
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 moreAuto Trait Implementations§
impl Freeze for PayloadChannelRuntime
impl RefUnwindSafe for PayloadChannelRuntime
impl Send for PayloadChannelRuntime
impl Sync for PayloadChannelRuntime
impl Unpin for PayloadChannelRuntime
impl UnsafeUnpin for PayloadChannelRuntime
impl UnwindSafe for PayloadChannelRuntime
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