pub struct VimbaError {
pub code: i32,
pub msg: &'static str,
}Fields§
§code: i32§msg: &'static strTrait Implementations§
Source§impl Debug for VimbaError
impl Debug for VimbaError
Source§impl Display for VimbaError
impl Display for VimbaError
Source§impl Error for VimbaError
impl Error for VimbaError
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 From<VimbaError> for Error
impl From<VimbaError> for Error
Source§fn from(source: VimbaError) -> Self
fn from(source: VimbaError) -> Self
Converts to this type from the input type.
Source§impl From<i32> for VimbaError
impl From<i32> for VimbaError
Source§fn from(code: i32) -> VimbaError
fn from(code: i32) -> VimbaError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VimbaError
impl RefUnwindSafe for VimbaError
impl Send for VimbaError
impl Sync for VimbaError
impl Unpin for VimbaError
impl UnsafeUnpin for VimbaError
impl UnwindSafe for VimbaError
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