Struct ruma::push::RuleNotFoundError
source · #[non_exhaustive]pub struct RuleNotFoundError;
Expand description
The error type returned when trying modify a push rule that could not be found in a Ruleset
.
Trait Implementations§
source§impl Debug for RuleNotFoundError
impl Debug for RuleNotFoundError
source§impl Display for RuleNotFoundError
impl Display for RuleNotFoundError
source§impl Error for RuleNotFoundError
impl Error for RuleNotFoundError
1.30.0 · source§fn 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 · 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 RuleNotFoundError
impl RefUnwindSafe for RuleNotFoundError
impl Send for RuleNotFoundError
impl Sync for RuleNotFoundError
impl Unpin for RuleNotFoundError
impl UnwindSafe for RuleNotFoundError
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