Enum t_rust_less_lib::service::ServiceError
source · [−]pub enum ServiceError {
SecretsStore(SecretStoreError),
StoreError(StoreError),
IO(String),
Mutex(String),
StoreNotFound(String),
ClipboardClosed,
NotAvailable,
}
Variants
SecretsStore(SecretStoreError)
StoreError(StoreError)
IO(String)
Mutex(String)
StoreNotFound(String)
ClipboardClosed
NotAvailable
Trait Implementations
sourceimpl Clone for ServiceError
impl Clone for ServiceError
sourcefn clone(&self) -> ServiceError
fn clone(&self) -> ServiceError
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 ServiceError
impl Debug for ServiceError
sourceimpl<'de> Deserialize<'de> for ServiceError
impl<'de> Deserialize<'de> for ServiceError
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 ServiceError
impl Display for ServiceError
sourceimpl Drop for ServiceError
impl Drop for ServiceError
sourceimpl Error for ServiceError
impl Error for ServiceError
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
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<ClipboardError> for ServiceError
impl From<ClipboardError> for ServiceError
sourcefn from(error: ClipboardError) -> Self
fn from(error: ClipboardError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl From<Error> for ServiceError
impl From<Error> for ServiceError
sourceimpl<T> From<PoisonError<T>> for ServiceError
impl<T> From<PoisonError<T>> for ServiceError
sourcefn from(error: PoisonError<T>) -> Self
fn from(error: PoisonError<T>) -> Self
Converts to this type from the input type.
sourceimpl From<SecretStoreError> for ServiceError
impl From<SecretStoreError> for ServiceError
sourcefn from(error: SecretStoreError) -> Self
fn from(error: SecretStoreError) -> Self
Converts to this type from the input type.
sourceimpl From<ServiceError> for Error
impl From<ServiceError> for Error
sourcefn from(error: ServiceError) -> Error
fn from(error: ServiceError) -> Error
Converts to this type from the input type.
sourceimpl From<SpawnError> for ServiceError
impl From<SpawnError> for ServiceError
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 PartialEq<ServiceError> for ServiceError
impl PartialEq<ServiceError> for ServiceError
sourcefn eq(&self, other: &ServiceError) -> bool
fn eq(&self, other: &ServiceError) -> bool
sourceimpl Serialize for ServiceError
impl Serialize for ServiceError
sourceimpl Zeroize for ServiceError
impl Zeroize for ServiceError
impl Eq for ServiceError
impl StructuralEq for ServiceError
impl StructuralPartialEq for ServiceError
Auto Trait Implementations
impl RefUnwindSafe for ServiceError
impl Send for ServiceError
impl Sync for ServiceError
impl Unpin for ServiceError
impl UnwindSafe for ServiceError
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