pub struct EventSetupError {
pub source: GenicamError,
pub restoration: EventRestoreReport,
}Expand description
Setup failed; Self::source retains the error and Self::restoration
says whether rollback succeeded. A failed rollback must not be reported as
a successful cleanup.
Fields§
§source: GenicamErrorThe original setup error.
restoration: EventRestoreReportWhat happened when settings already changed were rolled back.
Trait Implementations§
Source§impl Debug for EventSetupError
impl Debug for EventSetupError
Source§impl Display for EventSetupError
impl Display for EventSetupError
Source§impl Error for EventSetupError
impl Error for EventSetupError
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 !RefUnwindSafe for EventSetupError
impl !UnwindSafe for EventSetupError
impl Freeze for EventSetupError
impl Send for EventSetupError
impl Sync for EventSetupError
impl Unpin for EventSetupError
impl UnsafeUnpin for EventSetupError
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