#[non_exhaustive]pub struct McpFieldError {
pub field: &'static str,
pub reason: &'static str,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.field: &'static str§reason: &'static strTrait Implementations§
Source§impl Clone for McpFieldError
impl Clone for McpFieldError
impl Copy for McpFieldError
Source§impl Debug for McpFieldError
impl Debug for McpFieldError
Source§impl Display for McpFieldError
impl Display for McpFieldError
impl Eq for McpFieldError
Source§impl Error for McpFieldError
impl Error for McpFieldError
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 McpFieldError
impl PartialEq for McpFieldError
impl StructuralPartialEq for McpFieldError
Auto Trait Implementations§
impl Forget for McpFieldError
impl Freeze for McpFieldError
impl Move for McpFieldError
impl RefUnwindSafe for McpFieldError
impl Send for McpFieldError
impl Sync for McpFieldError
impl Unpin for McpFieldError
impl UnsafeUnpin for McpFieldError
impl UnwindSafe for McpFieldError
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