pub struct ReadState {
pub fd: Fd,
pub length: u64,
pub buffer_addr: u64,
pub length_addr: u64,
}
Expand description
VM is in waiting-to-read state.
Fields§
§fd: Fd
FD to read from
length: u64
Length to read
buffer_addr: u64
VM address to read data into
length_addr: u64
Length address to keep final read length
Trait Implementations§
impl Eq for ReadState
impl StructuralPartialEq for ReadState
Auto Trait Implementations§
impl Freeze for ReadState
impl RefUnwindSafe for ReadState
impl Send for ReadState
impl Sync for ReadState
impl Unpin for ReadState
impl UnwindSafe for ReadState
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