Enum creek_core::write::WriteStatus [−][src]
pub enum WriteStatus {
Ok,
ReachedMaxSize {
num_files: u32,
},
}Expand description
The return status of writing to a file.
Variants
Written ok.
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).
Fields of ReachedMaxSize
num_files: u32Trait Implementations
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
Mutably borrows from an owned value. Read more