pub enum VisionArgsError {
NotAMap,
Missing(&'static str),
Decode {
field: &'static str,
reason: String,
},
Encode {
field: &'static str,
reason: String,
},
}Expand description
A vision request or reply that does not have its method’s shape.
Variants§
Trait Implementations§
Source§impl Debug for VisionArgsError
impl Debug for VisionArgsError
Source§impl Display for VisionArgsError
impl Display for VisionArgsError
Source§impl Error for VisionArgsError
impl Error for VisionArgsError
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 VisionArgsError
impl RefUnwindSafe for VisionArgsError
impl Send for VisionArgsError
impl Sync for VisionArgsError
impl Unpin for VisionArgsError
impl UnsafeUnpin for VisionArgsError
impl UnwindSafe for VisionArgsError
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