pub enum CloudValueError {
CloudCoverOutOfRange(u8),
NonFiniteCloudBase(f64),
NegativeCloudBase(f64),
}Expand description
Errors returned by cloud constructors.
Variants§
CloudCoverOutOfRange(u8)
Cloud cover must stay in 0..=8 oktas.
NonFiniteCloudBase(f64)
Cloud base must be finite.
NegativeCloudBase(f64)
Cloud base cannot be negative.
Trait Implementations§
Source§impl Clone for CloudValueError
impl Clone for CloudValueError
Source§fn clone(&self) -> CloudValueError
fn clone(&self) -> CloudValueError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudValueError
impl Debug for CloudValueError
Source§impl Display for CloudValueError
impl Display for CloudValueError
Source§impl Error for CloudValueError
impl Error for CloudValueError
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 CloudValueError
impl PartialEq for CloudValueError
Source§fn eq(&self, other: &CloudValueError) -> bool
fn eq(&self, other: &CloudValueError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CloudValueError
impl StructuralPartialEq for CloudValueError
Auto Trait Implementations§
impl Freeze for CloudValueError
impl RefUnwindSafe for CloudValueError
impl Send for CloudValueError
impl Sync for CloudValueError
impl Unpin for CloudValueError
impl UnsafeUnpin for CloudValueError
impl UnwindSafe for CloudValueError
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