pub enum PrfVisitorError {
UnexpectedShape,
InvalidValue,
}Expand description
Errors produced when a visitor is used with the wrong resolved shape.
Variants§
Trait Implementations§
Source§impl Clone for PrfVisitorError
impl Clone for PrfVisitorError
Source§fn clone(&self) -> PrfVisitorError
fn clone(&self) -> PrfVisitorError
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 moreimpl Copy for PrfVisitorError
Source§impl Debug for PrfVisitorError
impl Debug for PrfVisitorError
Source§impl Display for PrfVisitorError
impl Display for PrfVisitorError
impl Eq for PrfVisitorError
Source§impl Error for PrfVisitorError
impl Error for PrfVisitorError
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<E> From<PrfVisitorError> for PrfError<E>
impl<E> From<PrfVisitorError> for PrfError<E>
Source§fn from(source: PrfVisitorError) -> Self
fn from(source: PrfVisitorError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrfVisitorError
impl PartialEq for PrfVisitorError
impl StructuralPartialEq for PrfVisitorError
Auto Trait Implementations§
impl Freeze for PrfVisitorError
impl RefUnwindSafe for PrfVisitorError
impl Send for PrfVisitorError
impl Sync for PrfVisitorError
impl Unpin for PrfVisitorError
impl UnsafeUnpin for PrfVisitorError
impl UnwindSafe for PrfVisitorError
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