pub struct EncodeContext {
pub sender: NodeId,
pub session: LinkSessionId,
pub limits: WireLimits,
}Expand description
Local sender, established link session, and bounds of one encoded packet.
Fields§
§sender: NodeIdConfigured local voter, written as envelope sender and embedded voter.
session: LinkSessionIdEstablished session of the destination link.
limits: WireLimitsFrame and operation bounds of the encoded packet.
Trait Implementations§
Source§impl Clone for EncodeContext
impl Clone for EncodeContext
impl Copy for EncodeContext
Source§impl Debug for EncodeContext
impl Debug for EncodeContext
impl Eq for EncodeContext
Source§impl PartialEq for EncodeContext
impl PartialEq for EncodeContext
impl StructuralPartialEq for EncodeContext
Auto Trait Implementations§
impl Freeze for EncodeContext
impl RefUnwindSafe for EncodeContext
impl Send for EncodeContext
impl Sync for EncodeContext
impl Unpin for EncodeContext
impl UnsafeUnpin for EncodeContext
impl UnwindSafe for EncodeContext
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