Enum shared_files::FileSize
source · pub enum FileSize {
AtLeast(usize),
Exactly(usize),
Error,
}
Expand description
The file size of the file to read.
Variants§
AtLeast(usize)
The file is not entirely written yet. The specified amount is the minimum number known to exist.
Exactly(usize)
The file is completely written and has exactly the specified amount of bytes.
Error
An error occurred while writing the file; reading may not complete.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileSize
impl Send for FileSize
impl Sync for FileSize
impl Unpin for FileSize
impl UnwindSafe for FileSize
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