Enum creek_core::write::WriteStatus
source · pub enum WriteStatus {
Ok,
ReachedMaxSize {
num_files: u32,
},
}
Expand description
The return status of writing to a file.
Variants§
Ok
Written ok.
ReachedMaxSize
Written ok, but the file has (or is about to) reach the maximum file size for this codec. A new file will be created to hold more data.
This returns the total number of files. (Including the one created with this stream and the new one that is being created right now).
Trait Implementations§
source§impl Clone for WriteStatus
impl Clone for WriteStatus
source§fn clone(&self) -> WriteStatus
fn clone(&self) -> WriteStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WriteStatus
impl Debug for WriteStatus
impl Copy for WriteStatus
Auto Trait Implementations§
impl RefUnwindSafe for WriteStatus
impl Send for WriteStatus
impl Sync for WriteStatus
impl Unpin for WriteStatus
impl UnwindSafe for WriteStatus
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