pub struct BlockSourceError { /* private fields */ }
Expand description

Error type for BlockSource requests.

Transient errors may be resolved when re-polling, but no attempt will be made to re-poll on persistent errors.

Implementations

Creates a new persistent error originated from the given error.

Creates a new transient error originated from the given error.

Returns the kind of error.

Converts the error into the underlying error.

Trait Implementations

Formats the value using the given formatter. Read more

Conversion from std::io::Error into BlockSourceError.

Converts to this type from the input type.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.