#[non_exhaustive]pub enum ServicesError {
Trust(String),
Session(String),
Failed(String),
}Expand description
Failure creating services or sessions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trust(String)
Trust store failure.
Session(String)
Session file failure.
Failed(String)
Anything else.
Trait Implementations§
Source§impl Debug for ServicesError
impl Debug for ServicesError
Source§impl Display for ServicesError
impl Display for ServicesError
Source§impl Error for ServicesError
impl Error for ServicesError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for ServicesError
impl RefUnwindSafe for ServicesError
impl Send for ServicesError
impl Sync for ServicesError
impl Unpin for ServicesError
impl UnsafeUnpin for ServicesError
impl UnwindSafe for ServicesError
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