pub enum SnapError {
UnsupportedStemRole {
value: String,
},
}Expand description
Errors from constructing snap-target domain values.
Variants§
UnsupportedStemRole
Returned when a stem role string is not supported by HFX v0.2.1.
Trait Implementations§
Source§impl Error for SnapError
impl Error for SnapError
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()
Auto Trait Implementations§
impl Freeze for SnapError
impl RefUnwindSafe for SnapError
impl Send for SnapError
impl Sync for SnapError
impl Unpin for SnapError
impl UnsafeUnpin for SnapError
impl UnwindSafe for SnapError
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