pub struct ShakeError(pub &'static str);Expand description
A shake configuration with a nonfinite or out-of-range field.
Tuple Fields§
§0: &'static strTrait Implementations§
Source§impl Clone for ShakeError
impl Clone for ShakeError
impl Copy for ShakeError
Source§impl Debug for ShakeError
impl Debug for ShakeError
Source§impl Display for ShakeError
impl Display for ShakeError
impl Eq for ShakeError
Source§impl Error for ShakeError
impl Error for ShakeError
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 ShakeError
impl PartialEq for ShakeError
impl StructuralPartialEq for ShakeError
Auto Trait Implementations§
impl Freeze for ShakeError
impl RefUnwindSafe for ShakeError
impl Send for ShakeError
impl Sync for ShakeError
impl Unpin for ShakeError
impl UnsafeUnpin for ShakeError
impl UnwindSafe for ShakeError
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