pub enum KeystoneError {
Engine(Error),
Misc(MiscError),
}
Expand description
Keystone errors.
Variants§
Engine(Error)
Errors directly handled by Keystone.
Misc(MiscError)
Additional error types to handle bindings-specific cases.
Trait Implementations§
Source§impl Clone for KeystoneError
impl Clone for KeystoneError
Source§fn clone(&self) -> KeystoneError
fn clone(&self) -> KeystoneError
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 KeystoneError
impl Debug for KeystoneError
Source§impl Display for KeystoneError
impl Display for KeystoneError
Source§impl Error for KeystoneError
impl Error for KeystoneError
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()
Source§impl From<Error> for KeystoneError
impl From<Error> for KeystoneError
Source§impl From<MiscError> for KeystoneError
impl From<MiscError> for KeystoneError
Source§impl Hash for KeystoneError
impl Hash for KeystoneError
Source§impl Ord for KeystoneError
impl Ord for KeystoneError
Source§fn cmp(&self, other: &KeystoneError) -> Ordering
fn cmp(&self, other: &KeystoneError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeystoneError
impl PartialEq for KeystoneError
Source§impl PartialOrd for KeystoneError
impl PartialOrd for KeystoneError
impl Copy for KeystoneError
impl Eq for KeystoneError
impl StructuralPartialEq for KeystoneError
Auto Trait Implementations§
impl Freeze for KeystoneError
impl RefUnwindSafe for KeystoneError
impl Send for KeystoneError
impl Sync for KeystoneError
impl Unpin for KeystoneError
impl UnwindSafe for KeystoneError
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