pub struct LimaGuestFsOps { /* private fields */ }Expand description
Owns a γ GammaSession for GuestFsOps tests and harnesses (delegates to GuestFsOps for GammaSession).
Implementations§
Trait Implementations§
Source§impl GuestFsOps for LimaGuestFsOps
Available on Unix only.
impl GuestFsOps for LimaGuestFsOps
Available on Unix only.
Source§fn read_file(&mut self, guest_path: &str) -> Result<Vec<u8>, GuestFsError>
fn read_file(&mut self, guest_path: &str) -> Result<Vec<u8>, GuestFsError>
Read a file by guest path. Read more
Source§fn write_file(
&mut self,
guest_path: &str,
data: &[u8],
) -> Result<(), GuestFsError>
fn write_file( &mut self, guest_path: &str, data: &[u8], ) -> Result<(), GuestFsError>
Write or replace a file. Read more
Auto Trait Implementations§
impl Freeze for LimaGuestFsOps
impl RefUnwindSafe for LimaGuestFsOps
impl Send for LimaGuestFsOps
impl Sync for LimaGuestFsOps
impl Unpin for LimaGuestFsOps
impl UnsafeUnpin for LimaGuestFsOps
impl UnwindSafe for LimaGuestFsOps
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