pub struct FileContents {
pub bytes: Vec<u8>,
pub _memory: HostBytes,
}Expand description
Bounded native data stays charged until its consumer finishes with it.
Fields§
§bytes: Vec<u8>§_memory: HostBytesAuto Trait Implementations§
impl Freeze for FileContents
impl RefUnwindSafe for FileContents
impl Send for FileContents
impl Sync for FileContents
impl Unpin for FileContents
impl UnsafeUnpin for FileContents
impl UnwindSafe for FileContents
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