pub enum DiveSegmentError {
IncorrectSegmentTypeError,
}Expand description
Represents errors that occur while working with DiveSegments.
Variants§
IncorrectSegmentTypeError
SegmentType supplied to create a DiveSegment were inconsistent with its parameters.
Trait Implementations§
Source§impl Debug for DiveSegmentError
impl Debug for DiveSegmentError
Source§impl Display for DiveSegmentError
impl Display for DiveSegmentError
Source§impl Error for DiveSegmentError
impl Error for DiveSegmentError
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 DiveSegmentError
impl RefUnwindSafe for DiveSegmentError
impl Send for DiveSegmentError
impl Sync for DiveSegmentError
impl Unpin for DiveSegmentError
impl UnwindSafe for DiveSegmentError
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