Struct redis_module::error::GenericError
source · [−]pub struct GenericError { /* private fields */ }
Implementations
sourceimpl GenericError
impl GenericError
Trait Implementations
sourceimpl Debug for GenericError
impl Debug for GenericError
sourceimpl<'a> Display for GenericError
impl<'a> Display for GenericError
sourceimpl<'a> Error for GenericError
impl<'a> Error for GenericError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl RefUnwindSafe for GenericError
impl Send for GenericError
impl Sync for GenericError
impl Unpin for GenericError
impl UnwindSafe for GenericError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more