pub enum NiftiError {
Io(Error),
InvalidHeader(i32),
BigEndian,
UnsupportedDataType(i16),
VolumeOutOfRange {
requested: usize,
available: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for NiftiError
impl Debug for NiftiError
Source§impl Display for NiftiError
impl Display for NiftiError
Source§impl Error for NiftiError
impl Error for NiftiError
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 NiftiError
impl !RefUnwindSafe for NiftiError
impl Send for NiftiError
impl Sync for NiftiError
impl Unpin for NiftiError
impl UnsafeUnpin for NiftiError
impl !UnwindSafe for NiftiError
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