Struct redis_module::error::GenericError [−][src]
pub struct GenericError { /* fields omitted */ }
Implementations
impl GenericError
[src]
impl GenericError
[src]pub fn new(message: &str) -> GenericError
[src]
Trait Implementations
impl Debug for GenericError
[src]
impl Debug for GenericError
[src]impl<'a> Display for GenericError
[src]
impl<'a> Display for GenericError
[src]impl<'a> Error for GenericError
[src]
impl<'a> Error for GenericError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]👎 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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more