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

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).

Fields of ReachedMaxSize

num_files: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.