pub struct FileObjStr { /* private fields */ }
Implementations§
Source§impl FileObjStr
impl FileObjStr
Trait Implementations§
Source§impl ObjStr for FileObjStr
impl ObjStr for FileObjStr
Source§fn seek(&mut self, pos: SeekFrom) -> Result<(), Error>
fn seek(&mut self, pos: SeekFrom) -> Result<(), Error>
Seeks to the given object in the stream.
Source§fn len(&mut self, contents: u8, objs: u8) -> Result<u64, Error>
fn len(&mut self, contents: u8, objs: u8) -> Result<u64, Error>
Returns the length of the current object (+ the following objects if objs > 1) and subtracts ops*contents from the length. Read more
Source§fn overwrite(&mut self, data: Vec<Vec<u8>>, objs: u8) -> Result<(), Error>
fn overwrite(&mut self, data: Vec<Vec<u8>>, objs: u8) -> Result<(), Error>
Overwrites the current object or objects with the given object-contents. Read more
Auto Trait Implementations§
impl Freeze for FileObjStr
impl RefUnwindSafe for FileObjStr
impl Send for FileObjStr
impl Sync for FileObjStr
impl Unpin for FileObjStr
impl UnwindSafe for FileObjStr
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