Enum bdk::blockchain::compact_filters::CompactFiltersError
source · [−]pub enum CompactFiltersError {
}
compact_filters
only.Expand description
An error that can occur during sync with a CompactFiltersBlockchain
Variants
InvalidResponse
A peer sent an invalid or unexpected response
InvalidHeaders
The headers returned are invalid
InvalidFilterHeader
The compact filter headers returned are invalid
InvalidFilter
The compact filter returned is invalid
MissingBlock
The peer is missing a block in the valid chain
BlockHashNotFound
Block hash at specified height not found
DataCorruption
The data stored in the block filters storage are corrupted
NotConnected
A peer is not connected
Timeout
A peer took too long to reply to one of our messages
PeerBloomDisabled
The peer doesn’t advertise the BLOOM
service flag
NoPeers
No peers have been specified
Db(Error)
Internal database error
Io(Error)
Internal I/O error
Bip158(Error)
Invalid BIP158 filter
Time(SystemTimeError)
Internal system time error
Global(Box<Error>)
Wrapper for crate::error::Error
Trait Implementations
sourceimpl Debug for CompactFiltersError
impl Debug for CompactFiltersError
sourceimpl Display for CompactFiltersError
impl Display for CompactFiltersError
sourceimpl Error for CompactFiltersError
impl Error for CompactFiltersError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<CompactFiltersError> for Error
impl From<CompactFiltersError> for Error
sourcefn from(other: CompactFiltersError) -> Self
fn from(other: CompactFiltersError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for CompactFiltersError
impl From<Error> for CompactFiltersError
sourceimpl From<Error> for CompactFiltersError
impl From<Error> for CompactFiltersError
sourceimpl From<Error> for CompactFiltersError
impl From<Error> for CompactFiltersError
sourceimpl From<Error> for CompactFiltersError
impl From<Error> for CompactFiltersError
sourceimpl From<SystemTimeError> for CompactFiltersError
impl From<SystemTimeError> for CompactFiltersError
sourcefn from(err: SystemTimeError) -> Self
fn from(err: SystemTimeError) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more