pub enum BlockStoreError {
SqliteError(Error, &'static str),
CidError(Error),
TryFromIntError(TryFromIntError, &'static str),
NoAdditionalInMemory,
Other(Error),
}
Variants
SqliteError(Error, &'static str)
Error when interacting with the sqlite database
CidError(Error)
Error convering from a cid to a fixed sized representation. This can be caused by hashes with more than 32 bytes of size
TryFromIntError(TryFromIntError, &'static str)
Error when converting i64 from sqlite to u64. This is unlikely to ever happen.
NoAdditionalInMemory
Other(Error)
Tuple Fields
0: Error
Other error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BlockStoreError
impl Send for BlockStoreError
impl Sync for BlockStoreError
impl Unpin for BlockStoreError
impl !UnwindSafe for BlockStoreError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more