pub struct RawSessionOutput {
pub frame: Vec<u8>,
pub activity: RawActivity,
pub completion: Option<RawSessionCompletion>,
}Expand description
Pre-encoded session output plus the accounting metadata known by its producer.
Fields§
§frame: Vec<u8>Encoded protocol frame bytes.
activity: RawActivityActivity represented by the frame.
completion: Option<RawSessionCompletion>Session table entry completed by the frame, if any.
Implementations§
Source§impl RawSessionOutput
impl RawSessionOutput
Sourcepub fn new(
frame: Vec<u8>,
activity: RawActivity,
completion: Option<RawSessionCompletion>,
) -> Self
pub fn new( frame: Vec<u8>, activity: RawActivity, completion: Option<RawSessionCompletion>, ) -> Self
Creates pre-encoded output with activity metadata.
Auto Trait Implementations§
impl Freeze for RawSessionOutput
impl RefUnwindSafe for RawSessionOutput
impl Send for RawSessionOutput
impl Sync for RawSessionOutput
impl Unpin for RawSessionOutput
impl UnsafeUnpin for RawSessionOutput
impl UnwindSafe for RawSessionOutput
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