pub struct TypeFunctionError(pub String);Expand description
An invalid constructor name, incomplete descriptor, or conflicting result.
§Examples
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for TypeFunctionError
impl Clone for TypeFunctionError
Source§impl Debug for TypeFunctionError
impl Debug for TypeFunctionError
Source§impl Display for TypeFunctionError
impl Display for TypeFunctionError
impl Eq for TypeFunctionError
Source§impl Error for TypeFunctionError
impl Error for TypeFunctionError
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 PartialEq for TypeFunctionError
impl PartialEq for TypeFunctionError
impl StructuralPartialEq for TypeFunctionError
Auto Trait Implementations§
impl Freeze for TypeFunctionError
impl RefUnwindSafe for TypeFunctionError
impl Send for TypeFunctionError
impl Sync for TypeFunctionError
impl Unpin for TypeFunctionError
impl UnsafeUnpin for TypeFunctionError
impl UnwindSafe for TypeFunctionError
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