pub enum CFileContents {
Bytes(Vec<u8>),
String(String),
}Expand description
Supports the disk_read_file and disk_write_file functions for reading / writing file contents from the host operating system disk.
Variants§
Implementations§
Source§impl CFileContents
impl CFileContents
Auto Trait Implementations§
impl Freeze for CFileContents
impl RefUnwindSafe for CFileContents
impl Send for CFileContents
impl Sync for CFileContents
impl Unpin for CFileContents
impl UnsafeUnpin for CFileContents
impl UnwindSafe for CFileContents
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