Struct gospel::read::CheckError
source · pub struct CheckError<T: Display> {
pub expected: T,
pub got: T,
}Fields§
§expected: T§got: TTrait Implementations§
source§impl<T: Clone + Display> Clone for CheckError<T>
impl<T: Clone + Display> Clone for CheckError<T>
source§fn clone(&self) -> CheckError<T>
fn clone(&self) -> CheckError<T>
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<T> Display for CheckError<T>where
T: Display,
impl<T> Display for CheckError<T>where T: Display,
source§impl<T: Display> Error for CheckError<T>where
Self: Debug + Display,
impl<T: Display> Error for CheckError<T>where Self: Debug + Display,
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()
Auto Trait Implementations§
impl<T> RefUnwindSafe for CheckError<T>where T: RefUnwindSafe,
impl<T> Send for CheckError<T>where T: Send,
impl<T> Sync for CheckError<T>where T: Sync,
impl<T> Unpin for CheckError<T>where T: Unpin,
impl<T> UnwindSafe for CheckError<T>where T: UnwindSafe,
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