[][src]Enum bdk::blockchain::compact_filters::CompactFiltersError

pub enum CompactFiltersError {
    InvalidResponse,
    InvalidHeaders,
    InvalidFilterHeader,
    InvalidFilter,
    MissingBlock,
    DataCorruption,
    NotConnected,
    Timeout,
    NoPeers,
    DB(Error),
    IO(Error),
    BIP158(Error),
    Time(SystemTimeError),
    Global(Box<Error>),
}
This is supported on feature="compact_filters" only.

An error that can occur during sync with a CompactFiltersBlockchain

Variants

InvalidResponse
This is supported on feature="compact_filters" only.

A peer sent an invalid or unexpected response

InvalidHeaders
This is supported on feature="compact_filters" only.

The headers returned are invalid

InvalidFilterHeader
This is supported on feature="compact_filters" only.

The compact filter headers returned are invalid

InvalidFilter
This is supported on feature="compact_filters" only.

The compact filter returned is invalid

MissingBlock
This is supported on feature="compact_filters" only.

The peer is missing a block in the valid chain

DataCorruption
This is supported on feature="compact_filters" only.

The data stored in the block filters storage are corrupted

NotConnected
This is supported on feature="compact_filters" only.

A peer is not connected

Timeout
This is supported on feature="compact_filters" only.

A peer took too long to reply to one of our messages

NoPeers
This is supported on feature="compact_filters" only.

No peers have been specified

DB(Error)
This is supported on feature="compact_filters" only.

Internal database error

IO(Error)
This is supported on feature="compact_filters" only.

Internal I/O error

BIP158(Error)
This is supported on feature="compact_filters" only.

Invalid BIP158 filter

Time(SystemTimeError)
This is supported on feature="compact_filters" only.

Internal system time error

Global(Box<Error>)
This is supported on feature="compact_filters" only.

Wrapper for crate::error::Error

Trait Implementations

impl Debug for CompactFiltersError[src]

impl Display for CompactFiltersError[src]

impl Error for CompactFiltersError[src]

impl From<CompactFiltersError> for Error[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<SystemTimeError> for CompactFiltersError[src]

Auto Trait Implementations

impl !RefUnwindSafe for CompactFiltersError

impl Send for CompactFiltersError

impl Sync for CompactFiltersError

impl Unpin for CompactFiltersError

impl !UnwindSafe for CompactFiltersError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,