pub enum RedactError {
Unresolved(String),
WholeEntry,
NoFields,
BlindPointer(String),
Rebase(String),
NonIntegerNumber(String),
}Expand description
A Redaction cannot be applied as asked
Variants§
Unresolved(String)
WholeEntry
NoFields
BlindPointer(String)
Rebase(String)
NonIntegerNumber(String)
Trait Implementations§
Source§impl Clone for RedactError
impl Clone for RedactError
Source§impl Debug for RedactError
impl Debug for RedactError
Source§impl Display for RedactError
impl Display for RedactError
impl Eq for RedactError
Source§impl Error for RedactError
impl Error for RedactError
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 RedactError
impl PartialEq for RedactError
impl StructuralPartialEq for RedactError
Auto Trait Implementations§
impl Freeze for RedactError
impl RefUnwindSafe for RedactError
impl Send for RedactError
impl Sync for RedactError
impl Unpin for RedactError
impl UnsafeUnpin for RedactError
impl UnwindSafe for RedactError
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