pub enum ConfigureSamplerError {
UnknownOrBadType(String),
AmbiguousKey(String),
ConversionFailure(String),
CannotAccessOptionValue(String),
}Expand description
Sampler option handling errors.
Variants§
UnknownOrBadType(String)
Unknown option key or incorrect type specified.
AmbiguousKey(String)
The supplied key can match multiple options.
ConversionFailure(String)
An error occurred converting the option value.
CannotAccessOptionValue(String)
The option value cannot be accessed as requested.
Trait Implementations§
Source§impl Clone for ConfigureSamplerError
impl Clone for ConfigureSamplerError
Source§fn clone(&self) -> ConfigureSamplerError
fn clone(&self) -> ConfigureSamplerError
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 ConfigureSamplerError
impl Debug for ConfigureSamplerError
Source§impl Display for ConfigureSamplerError
impl Display for ConfigureSamplerError
Source§impl Error for ConfigureSamplerError
impl Error for ConfigureSamplerError
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 PartialEq for ConfigureSamplerError
impl PartialEq for ConfigureSamplerError
impl StructuralPartialEq for ConfigureSamplerError
Auto Trait Implementations§
impl Freeze for ConfigureSamplerError
impl RefUnwindSafe for ConfigureSamplerError
impl Send for ConfigureSamplerError
impl Sync for ConfigureSamplerError
impl Unpin for ConfigureSamplerError
impl UnwindSafe for ConfigureSamplerError
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