pub enum RedactorError {
Policy(PolicyError),
DigestWithoutKey,
}Expand description
Why a Redactor could not be built.
Variants§
Policy(PolicyError)
The policy failed validation.
DigestWithoutKey
An effective action is digest and no key was given (3.4.5).
Trait Implementations§
Source§impl Clone for RedactorError
impl Clone for RedactorError
Source§impl Debug for RedactorError
impl Debug for RedactorError
Source§impl Display for RedactorError
impl Display for RedactorError
impl Eq for RedactorError
Source§impl Error for RedactorError
impl Error for RedactorError
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 PartialEq for RedactorError
impl PartialEq for RedactorError
impl StructuralPartialEq for RedactorError
Auto Trait Implementations§
impl Freeze for RedactorError
impl RefUnwindSafe for RedactorError
impl Send for RedactorError
impl Sync for RedactorError
impl Unpin for RedactorError
impl UnsafeUnpin for RedactorError
impl UnwindSafe for RedactorError
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