pub struct TraitMethodSignatureMismatchError {
pub trait_name: String,
pub self_type: String,
pub method: String,
pub expected: String,
pub found: String,
}Expand description
Detail for a trait method signature mismatch error.
Fields§
§trait_name: String§self_type: String§method: String§expected: String§found: StringTrait Implementations§
Source§impl Error for TraitMethodSignatureMismatchError
impl Error for TraitMethodSignatureMismatchError
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()
Auto Trait Implementations§
impl Freeze for TraitMethodSignatureMismatchError
impl RefUnwindSafe for TraitMethodSignatureMismatchError
impl Send for TraitMethodSignatureMismatchError
impl Sync for TraitMethodSignatureMismatchError
impl Unpin for TraitMethodSignatureMismatchError
impl UnsafeUnpin for TraitMethodSignatureMismatchError
impl UnwindSafe for TraitMethodSignatureMismatchError
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