pub struct InterfaceMethodUncheckedMismatchError {
pub type_name: String,
pub interface_name: String,
pub method_name: String,
pub expected_unchecked: bool,
pub actual_unchecked: bool,
}Expand description
Payload for ErrorKind::InterfaceMethodUncheckedMismatch (ADR-0088).
Three strings plus two bools push the inline variant over the
64-byte ErrorKind budget, so the body is boxed.
Fields§
§type_name: String§interface_name: String§method_name: String§expected_unchecked: bool§actual_unchecked: boolTrait Implementations§
Source§impl Clone for InterfaceMethodUncheckedMismatchError
impl Clone for InterfaceMethodUncheckedMismatchError
Source§fn clone(&self) -> InterfaceMethodUncheckedMismatchError
fn clone(&self) -> InterfaceMethodUncheckedMismatchError
Returns a duplicate 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 PartialEq for InterfaceMethodUncheckedMismatchError
impl PartialEq for InterfaceMethodUncheckedMismatchError
Source§fn eq(&self, other: &InterfaceMethodUncheckedMismatchError) -> bool
fn eq(&self, other: &InterfaceMethodUncheckedMismatchError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InterfaceMethodUncheckedMismatchError
impl StructuralPartialEq for InterfaceMethodUncheckedMismatchError
Auto Trait Implementations§
impl Freeze for InterfaceMethodUncheckedMismatchError
impl RefUnwindSafe for InterfaceMethodUncheckedMismatchError
impl Send for InterfaceMethodUncheckedMismatchError
impl Sync for InterfaceMethodUncheckedMismatchError
impl Unpin for InterfaceMethodUncheckedMismatchError
impl UnsafeUnpin for InterfaceMethodUncheckedMismatchError
impl UnwindSafe for InterfaceMethodUncheckedMismatchError
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