pub enum GenicamError {
GenApi(GenApiError),
Transport(String),
Parse(String),
MissingChunkFeature(String),
UnsupportedPixelFormat(PixelFormat),
}Expand description
Error type produced by the high level GenICam facade.
Variants§
GenApi(GenApiError)
Wrapper around GenApi errors produced by the nodemap.
Transport(String)
Transport level failure while accessing registers.
Parse(String)
Parsing a user supplied value failed.
MissingChunkFeature(String)
Required chunk feature missing from the nodemap.
UnsupportedPixelFormat(PixelFormat)
The camera reported a pixel format without a conversion path.
Trait Implementations§
Source§impl Debug for GenicamError
impl Debug for GenicamError
Source§impl Display for GenicamError
impl Display for GenicamError
Source§impl Error for GenicamError
impl Error for GenicamError
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<GenApiError> for GenicamError
impl From<GenApiError> for GenicamError
Source§fn from(source: GenApiError) -> Self
fn from(source: GenApiError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GenicamError
impl RefUnwindSafe for GenicamError
impl Send for GenicamError
impl Sync for GenicamError
impl Unpin for GenicamError
impl UnwindSafe for GenicamError
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