pub struct RouteCtx {
pub connection_id: ConnectionId,
pub egress: FrameSink,
}Expand description
Per-route context shared with backends besides the frame itself.
Fields§
§connection_id: ConnectionId§egress: FrameSinkTrait Implementations§
Auto Trait Implementations§
impl Forget for RouteCtx
impl Freeze for RouteCtxwhere
*const ArcInner<Chan<OutboundFrame, Semaphore>> is !null: Freeze,
PhantomData<ArcInner<Chan<OutboundFrame, Semaphore>>>: Freeze,
*const ArcInner<EgressAccounting> is !null: Freeze,
PhantomData<ArcInner<EgressAccounting>>: Freeze,
impl Move for RouteCtx
impl RefUnwindSafe for RouteCtxwhere
Atomic<usize>: RefUnwindSafe,
Chan<OutboundFrame, Semaphore>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
Notify: RefUnwindSafe,
Atomic<u64>: RefUnwindSafe,
impl Send for RouteCtx
impl Sync for RouteCtx
impl Unpin for RouteCtx
impl UnsafeUnpin for RouteCtxwhere
*const ArcInner<Chan<OutboundFrame, Semaphore>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Chan<OutboundFrame, Semaphore>>>: UnsafeUnpin,
*const ArcInner<EgressAccounting> is !null: UnsafeUnpin,
PhantomData<ArcInner<EgressAccounting>>: UnsafeUnpin,
impl UnwindSafe for RouteCtx
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