pub enum ProcessingBlockOptionError {
OptionNotSupported(String),
InvalidValue(String),
SetOptionFailed(String),
GetOptionFailed(String),
}Expand description
Errors that can occur when working with processing block options
Variants§
OptionNotSupported(String)
The requested option is not supported by this processing block
InvalidValue(String)
The provided value is not valid for this option
SetOptionFailed(String)
Failed to set the option value
GetOptionFailed(String)
Failed to get the option value
Trait Implementations§
Source§impl Clone for ProcessingBlockOptionError
impl Clone for ProcessingBlockOptionError
Source§fn clone(&self) -> ProcessingBlockOptionError
fn clone(&self) -> ProcessingBlockOptionError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessingBlockOptionError
impl Debug for ProcessingBlockOptionError
Source§impl Display for ProcessingBlockOptionError
impl Display for ProcessingBlockOptionError
Source§impl Error for ProcessingBlockOptionError
impl Error for ProcessingBlockOptionError
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()
impl StructuralPartialEq for ProcessingBlockOptionError
Auto Trait Implementations§
impl Freeze for ProcessingBlockOptionError
impl RefUnwindSafe for ProcessingBlockOptionError
impl Send for ProcessingBlockOptionError
impl Sync for ProcessingBlockOptionError
impl Unpin for ProcessingBlockOptionError
impl UnwindSafe for ProcessingBlockOptionError
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