Enum parallel_disk_usage::runtime_error::RuntimeError[][src]

#[non_exhaustive]
pub enum RuntimeError {
    SerializationFailure(Error),
    DeserializationFailure(Error),
    JsonInputArgConflict,
    InvalidInputReflection(String),
}
Expand description

Error caused by the CLI program.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SerializationFailure(Error)

When it fails to write JSON representation of DataTreeReflection to stdout.

DeserializationFailure(Error)

When it fails to read JSON representation of DataTreeReflection from stdin.

JsonInputArgConflict

When both --json-input and file names are both specified.

InvalidInputReflection(String)

When input JSON data is not a valid tree.

Trait Implementations

Formats the value using the given formatter. 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.

Apply f to self. Read more

Apply f to &self. Read more

Apply f to &mut self. Read more

Apply f to &self where f takes a single parameter of type Param and Self implements trait AsRef<Param>. Read more

Apply f to &mut self where f takes a single parameter of type Param and Self implements trait AsMut<Param>. Read more

Apply f to &self where f takes a single parameter of type Param and Self implements trait Deref<Param>. Read more

Apply f to &mut self where f takes a single parameter of type Param and Self implements trait DerefMut<Param>. Read more

Apply f to &self where f takes a single parameter of type Param and Self implements trait Deref<Param>. Read more

Apply f to &mut self where f takes a single parameter of type Param and Self implements trait DerefMut<Param>. Read more

Apply f to self. Read more

Apply f to &self. Read more

Apply f to &mut self. Read more

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Converts the given value to a String. 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.