pub struct VisitorError { /* private fields */ }Expand description
VisitorError Structured error type for visitor-based sanitization and validation.
Implementations§
Source§impl VisitorError
impl VisitorError
pub const fn issues(&self) -> &VisitorIssues
Trait Implementations§
Source§impl Debug for VisitorError
impl Debug for VisitorError
Source§impl Display for VisitorError
impl Display for VisitorError
Source§impl Error for VisitorError
impl Error for VisitorError
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 From<VisitorError> for InternalError
impl From<VisitorError> for InternalError
Source§fn from(err: VisitorError) -> Self
fn from(err: VisitorError) -> Self
Converts to this type from the input type.
Source§impl From<VisitorError> for VisitorIssues
impl From<VisitorError> for VisitorIssues
Source§fn from(err: VisitorError) -> Self
fn from(err: VisitorError) -> Self
Converts to this type from the input type.
Source§impl From<VisitorIssues> for VisitorError
impl From<VisitorIssues> for VisitorError
Source§fn from(issues: VisitorIssues) -> Self
fn from(issues: VisitorIssues) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VisitorError
impl RefUnwindSafe for VisitorError
impl Send for VisitorError
impl Sync for VisitorError
impl Unpin for VisitorError
impl UnwindSafe for VisitorError
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