pub enum GribError {
InternalDataError,
ParseError(ParseError),
DecodeError(DecodeError),
InvalidValueError(String),
NotSupported(String),
Unknown(String),
}
Variants§
InternalDataError
ParseError(ParseError)
DecodeError(DecodeError)
InvalidValueError(String)
NotSupported(String)
Unknown(String)
Trait Implementations§
source§impl Error for GribError
impl Error for GribError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<DecodeError> for GribError
impl From<DecodeError> for GribError
source§fn from(e: DecodeError) -> Self
fn from(e: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for GribError
impl From<ParseError> for GribError
source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for GribError
impl PartialEq for GribError
impl Eq for GribError
impl StructuralPartialEq for GribError
Auto Trait Implementations§
impl Freeze for GribError
impl RefUnwindSafe for GribError
impl Send for GribError
impl Sync for GribError
impl Unpin for GribError
impl UnwindSafe for GribError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)