pub enum OwaspTextError {
Empty,
}Expand description
Error returned when OWASP text metadata is invalid.
Variants§
Empty
Trait Implementations§
Source§impl Clone for OwaspTextError
impl Clone for OwaspTextError
Source§fn clone(&self) -> OwaspTextError
fn clone(&self) -> OwaspTextError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwaspTextError
impl Debug for OwaspTextError
Source§impl Display for OwaspTextError
impl Display for OwaspTextError
Source§impl Error for OwaspTextError
impl Error for OwaspTextError
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 OwaspTextError
impl PartialEq for OwaspTextError
Source§fn eq(&self, other: &OwaspTextError) -> bool
fn eq(&self, other: &OwaspTextError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OwaspTextError
impl Eq for OwaspTextError
impl StructuralPartialEq for OwaspTextError
Auto Trait Implementations§
impl Freeze for OwaspTextError
impl RefUnwindSafe for OwaspTextError
impl Send for OwaspTextError
impl Sync for OwaspTextError
impl Unpin for OwaspTextError
impl UnsafeUnpin for OwaspTextError
impl UnwindSafe for OwaspTextError
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