pub enum BlockStoreError {
NoneToPop,
Encode,
BlockError(BlockError),
IO(String),
}Variants§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for BlockStoreError
impl<'__de, __Context> BorrowDecode<'__de, __Context> for BlockStoreError
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for BlockStoreError
impl Clone for BlockStoreError
Source§fn clone(&self) -> BlockStoreError
fn clone(&self) -> BlockStoreError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlockStoreError
impl Debug for BlockStoreError
Source§impl<__Context> Decode<__Context> for BlockStoreError
impl<__Context> Decode<__Context> for BlockStoreError
Source§impl<'de> Deserialize<'de> for BlockStoreError
impl<'de> Deserialize<'de> for BlockStoreError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BlockStoreError
impl Display for BlockStoreError
Source§impl Encode for BlockStoreError
impl Encode for BlockStoreError
Source§impl Error for BlockStoreError
impl Error for BlockStoreError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BlockError> for BlockStoreError
impl From<BlockError> for BlockStoreError
Source§fn from(source: BlockError) -> Self
fn from(source: BlockError) -> Self
Converts to this type from the input type.
Source§impl From<BlockStoreError> for BlockchainError
impl From<BlockStoreError> for BlockchainError
Source§fn from(source: BlockStoreError) -> Self
fn from(source: BlockStoreError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for BlockStoreError
impl From<Error> for BlockStoreError
Auto Trait Implementations§
impl Freeze for BlockStoreError
impl RefUnwindSafe for BlockStoreError
impl Send for BlockStoreError
impl Sync for BlockStoreError
impl Unpin for BlockStoreError
impl UnwindSafe for BlockStoreError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more