pub struct Infallible {}Expand description
Marker type indicating that VM I/O operations cannot fail (e.g., kernel-space access).
Trait Implementations§
Source§impl<'a> FallibleVmRead<Infallible> for VmReader<'a, Fallible>
impl<'a> FallibleVmRead<Infallible> for VmReader<'a, Fallible>
Source§exec fn read_fallible(
&mut self,
writer: &mut VmWriter<'_, Infallible>,
) -> Result<usize, (Error, usize)>
exec fn read_fallible( &mut self, writer: &mut VmWriter<'_, Infallible>, ) -> Result<usize, (Error, usize)>
Source§impl<'a> FallibleVmWrite<Infallible> for VmWriter<'a, Fallible>
impl<'a> FallibleVmWrite<Infallible> for VmWriter<'a, Fallible>
Source§exec fn write_fallible(
&mut self,
reader: &mut VmReader<'_, Infallible>,
) -> Result<usize, (Error, usize)>
exec fn write_fallible( &mut self, reader: &mut VmReader<'_, Infallible>, ) -> Result<usize, (Error, usize)>
Auto Trait Implementations§
impl Freeze for Infallible
impl RefUnwindSafe for Infallible
impl Send for Infallible
impl Sync for Infallible
impl Unpin for Infallible
impl UnsafeUnpin for Infallible
impl UnwindSafe for Infallible
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