Enum keystone_engine::KeystoneError
source · Expand description
Keystone errors.
Variants
Engine(Error)
Errors directly handled by Keystone.
Misc(MiscError)
Additional error types to handle bindings-specific cases.
Trait Implementations
sourceimpl Clone for KeystoneError
impl Clone for KeystoneError
sourcefn clone(&self) -> KeystoneError
fn clone(&self) -> KeystoneError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for KeystoneError
impl Debug for KeystoneError
sourceimpl Display for KeystoneError
impl Display for KeystoneError
sourceimpl Error for KeystoneError
impl Error for KeystoneError
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<Error> for KeystoneError
impl From<Error> for KeystoneError
sourceimpl From<MiscError> for KeystoneError
impl From<MiscError> for KeystoneError
sourceimpl Hash for KeystoneError
impl Hash for KeystoneError
sourceimpl Ord for KeystoneError
impl Ord for KeystoneError
sourcefn cmp(&self, other: &KeystoneError) -> Ordering
fn cmp(&self, other: &KeystoneError) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<KeystoneError> for KeystoneError
impl PartialEq<KeystoneError> for KeystoneError
sourcefn eq(&self, other: &KeystoneError) -> bool
fn eq(&self, other: &KeystoneError) -> bool
sourceimpl PartialOrd<KeystoneError> for KeystoneError
impl PartialOrd<KeystoneError> for KeystoneError
sourcefn partial_cmp(&self, other: &KeystoneError) -> Option<Ordering>
fn partial_cmp(&self, other: &KeystoneError) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for KeystoneError
impl Eq for KeystoneError
impl StructuralEq for KeystoneError
impl StructuralPartialEq for KeystoneError
Auto Trait Implementations
impl RefUnwindSafe for KeystoneError
impl Send for KeystoneError
impl Sync for KeystoneError
impl Unpin for KeystoneError
impl UnwindSafe for KeystoneError
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