pub struct RawActivity {
pub guest_message: bool,
pub fs_bytes: usize,
pub tcp_bytes: usize,
}Expand description
Activity represented by a pre-encoded session frame.
Fields§
§guest_message: boolWhether this frame is a meaningful guest-to-host protocol message.
fs_bytes: usizeFilesystem bytes moved by this frame.
tcp_bytes: usizeTCP bytes moved by this frame.
Implementations§
Trait Implementations§
Source§impl Clone for RawActivity
impl Clone for RawActivity
Source§fn clone(&self) -> RawActivity
fn clone(&self) -> RawActivity
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 moreimpl Copy for RawActivity
Source§impl Debug for RawActivity
impl Debug for RawActivity
Source§impl Default for RawActivity
impl Default for RawActivity
Source§fn default() -> RawActivity
fn default() -> RawActivity
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RawActivity
impl RefUnwindSafe for RawActivity
impl Send for RawActivity
impl Sync for RawActivity
impl Unpin for RawActivity
impl UnsafeUnpin for RawActivity
impl UnwindSafe for RawActivity
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