Enum t_rust_less_lib::block_store::StoreError
source · pub enum StoreError {
InvalidBlock(String),
InvalidStoreUrl(String),
IO(String),
Mutex(String),
Conflict(String),
StoreNotFound(String),
}Variants§
InvalidBlock(String)
InvalidStoreUrl(String)
IO(String)
Mutex(String)
Conflict(String)
StoreNotFound(String)
Trait Implementations§
source§impl Clone for StoreError
impl Clone for StoreError
source§fn clone(&self) -> StoreError
fn clone(&self) -> StoreError
Returns a copy 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 StoreError
impl Debug for StoreError
source§impl<'de> Deserialize<'de> for StoreError
impl<'de> Deserialize<'de> for StoreError
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 StoreError
impl Display for StoreError
source§impl From<Error> for StoreError
impl From<Error> for StoreError
source§impl From<Error> for StoreError
impl From<Error> for StoreError
source§impl From<Error> for StoreError
impl From<Error> for StoreError
source§impl From<Error> for StoreError
impl From<Error> for StoreError
source§impl From<Error> for StoreError
impl From<Error> for StoreError
source§impl From<ListFolderContinueError> for StoreError
impl From<ListFolderContinueError> for StoreError
source§fn from(error: ListFolderContinueError) -> Self
fn from(error: ListFolderContinueError) -> Self
Converts to this type from the input type.
source§impl From<ListFolderError> for StoreError
impl From<ListFolderError> for StoreError
source§fn from(error: ListFolderError) -> Self
fn from(error: ListFolderError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for StoreError
impl From<ParseError> for StoreError
source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for StoreError
impl<T> From<PoisonError<T>> for StoreError
source§fn from(error: PoisonError<T>) -> Self
fn from(error: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl From<RecvError> for StoreError
impl From<RecvError> for StoreError
source§impl From<StoreError> for SecretStoreError
impl From<StoreError> for SecretStoreError
source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
source§impl From<StoreError> for ServiceError
impl From<StoreError> for ServiceError
source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
source§impl From<TransactionError<StoreError>> for StoreError
impl From<TransactionError<StoreError>> for StoreError
source§fn from(err: TransactionError<StoreError>) -> Self
fn from(err: TransactionError<StoreError>) -> Self
Converts to this type from the input type.
source§impl From<UploadError> for StoreError
impl From<UploadError> for StoreError
source§fn from(error: UploadError) -> Self
fn from(error: UploadError) -> Self
Converts to this type from the input type.
source§impl PartialEq for StoreError
impl PartialEq for StoreError
source§fn eq(&self, other: &StoreError) -> bool
fn eq(&self, other: &StoreError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for StoreError
impl Serialize for StoreError
source§impl Zeroize for StoreError
impl Zeroize for StoreError
impl Eq for StoreError
impl StructuralPartialEq for StoreError
Auto Trait Implementations§
impl RefUnwindSafe for StoreError
impl Send for StoreError
impl Sync for StoreError
impl Unpin for StoreError
impl UnwindSafe for StoreError
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.