pub struct VsockHeader {
pub src_cid: u64,
pub dst_cid: u64,
pub src_port: u32,
pub dst_port: u32,
pub len: u32,
pub pkt_type: u16,
pub op: u16,
pub flags: u32,
pub buf_alloc: u32,
pub fwd_cnt: u32,
}Fields§
§src_cid: u64§dst_cid: u64§src_port: u32§dst_port: u32§len: u32§pkt_type: u16§op: u16§flags: u32§buf_alloc: u32§fwd_cnt: u32Implementations§
Trait Implementations§
Source§impl Clone for VsockHeader
impl Clone for VsockHeader
impl Copy for VsockHeader
Auto Trait Implementations§
impl Forget for VsockHeader
impl Freeze for VsockHeader
impl Move for VsockHeader
impl RefUnwindSafe for VsockHeader
impl Send for VsockHeader
impl Sync for VsockHeader
impl Unpin for VsockHeader
impl UnsafeUnpin for VsockHeader
impl UnwindSafe for VsockHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more