Enum twistrs::permutate::PermutationError
source · pub enum PermutationError {
InvalidDomain {
expected: String,
found: String,
},
InvalidHomoglyph {
domain: String,
homoglyph: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for PermutationError
impl Clone for PermutationError
source§fn clone(&self) -> PermutationError
fn clone(&self) -> PermutationError
Returns a copy of the value. Read more
1.0.0 · 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 PermutationError
impl Debug for PermutationError
source§impl Display for PermutationError
impl Display for PermutationError
source§impl Error for PermutationError
impl Error for PermutationError
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()
source§impl From<PermutationError> for Error
impl From<PermutationError> for Error
source§fn from(source: PermutationError) -> Self
fn from(source: PermutationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for PermutationError
impl Send for PermutationError
impl Sync for PermutationError
impl Unpin for PermutationError
impl UnwindSafe for PermutationError
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