Struct lightning_block_sync::BlockSourceError[][src]

pub struct BlockSourceError { /* fields omitted */ }
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

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