pub struct FileState { /* private fields */ }Implementations§
Source§impl FileState
impl FileState
Sourcepub fn unref(&mut self)
pub fn unref(&mut self)
| Decrease the reference count. Delete | if this is the last reference. |
pub fn size(&self) -> u64
pub fn truncate(&mut self)
pub fn read( &self, offset: u64, n: usize, result: *mut Slice, scratch: *mut u8, ) -> Status
pub fn append(&mut self, data: &Slice) -> Status
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FileState
impl !RefUnwindSafe for FileState
impl !Send for FileState
impl !Sync for FileState
impl Unpin for FileState
impl UnwindSafe for FileState
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