Enum libcamera::control::ControlError
source · pub enum ControlError {
NotFound(u32),
ValueError(ControlValueError),
}
Variants§
NotFound(u32)
ValueError(ControlValueError)
Trait Implementations§
source§impl Debug for ControlError
impl Debug for ControlError
source§impl Display for ControlError
impl Display for ControlError
source§impl Error for ControlError
impl Error for ControlError
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<ControlValueError> for ControlError
impl From<ControlValueError> for ControlError
source§fn from(source: ControlValueError) -> Self
fn from(source: ControlValueError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ControlError
impl RefUnwindSafe for ControlError
impl Send for ControlError
impl Sync for ControlError
impl Unpin for ControlError
impl UnwindSafe for ControlError
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