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
sourceimpl Clone for StoreError
impl Clone for StoreError
sourcefn clone(&self) -> StoreError
fn clone(&self) -> StoreError
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StoreError
impl Debug for StoreError
sourceimpl<'de> Deserialize<'de> for StoreError
impl<'de> Deserialize<'de> for StoreError
sourcefn 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
sourceimpl Display for StoreError
impl Display for StoreError
sourceimpl Drop for StoreError
impl Drop for StoreError
sourceimpl From<Error> for StoreError
impl From<Error> for StoreError
sourceimpl From<Error> for StoreError
impl From<Error> for StoreError
sourceimpl From<Error> for StoreError
impl From<Error> for StoreError
sourceimpl From<Error> for StoreError
impl From<Error> for StoreError
sourceimpl From<Error> for StoreError
impl From<Error> for StoreError
sourceimpl From<ListFolderContinueError> for StoreError
impl From<ListFolderContinueError> for StoreError
sourcefn from(error: ListFolderContinueError) -> Self
fn from(error: ListFolderContinueError) -> Self
Converts to this type from the input type.
sourceimpl From<ListFolderError> for StoreError
impl From<ListFolderError> for StoreError
sourcefn from(error: ListFolderError) -> Self
fn from(error: ListFolderError) -> Self
Converts to this type from the input type.
sourceimpl From<ParseError> for StoreError
impl From<ParseError> for StoreError
sourcefn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
sourceimpl<T> From<PoisonError<T>> for StoreError
impl<T> From<PoisonError<T>> for StoreError
sourcefn from(error: PoisonError<T>) -> Self
fn from(error: PoisonError<T>) -> Self
Converts to this type from the input type.
sourceimpl From<RecvError> for StoreError
impl From<RecvError> for StoreError
sourceimpl From<StoreError> for SecretStoreError
impl From<StoreError> for SecretStoreError
sourcefn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
sourceimpl From<StoreError> for ServiceError
impl From<StoreError> for ServiceError
sourcefn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
sourceimpl From<TransactionError<StoreError>> for StoreError
impl From<TransactionError<StoreError>> for StoreError
sourcefn from(err: TransactionError<StoreError>) -> Self
fn from(err: TransactionError<StoreError>) -> Self
Converts to this type from the input type.
sourceimpl From<UploadError> for StoreError
impl From<UploadError> for StoreError
sourcefn from(error: UploadError) -> Self
fn from(error: UploadError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<StoreError> for StoreError
impl PartialEq<StoreError> for StoreError
sourcefn eq(&self, other: &StoreError) -> bool
fn eq(&self, other: &StoreError) -> bool
sourceimpl Serialize for StoreError
impl Serialize for StoreError
sourceimpl Zeroize for StoreError
impl Zeroize for StoreError
impl Eq for StoreError
impl StructuralEq 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
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
impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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
. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read morefn 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. Read morefn 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. Read more