pub struct SegmentError { /* private fields */ }Expand description
A failure to write or read one segment file, naming the file.
Implementations§
Trait Implementations§
Source§impl Debug for SegmentError
impl Debug for SegmentError
Source§impl Display for SegmentError
impl Display for SegmentError
Source§impl Error for SegmentError
impl Error for SegmentError
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 From<SegmentError> for ContentReadError
impl From<SegmentError> for ContentReadError
Source§fn from(source: SegmentError) -> Self
fn from(source: SegmentError) -> Self
Converts to this type from the input type.
Source§impl From<SegmentError> for FamilyError
impl From<SegmentError> for FamilyError
Source§fn from(error: SegmentError) -> Self
fn from(error: SegmentError) -> Self
Converts to this type from the input type.
Source§impl From<SegmentError> for VectorError
impl From<SegmentError> for VectorError
Source§fn from(source: SegmentError) -> Self
fn from(source: SegmentError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SegmentError
impl !UnwindSafe for SegmentError
impl Forget for SegmentError
impl Freeze for SegmentError
impl Move for SegmentError
impl Send for SegmentError
impl Sync for SegmentError
impl Unpin for SegmentError
impl UnsafeUnpin for SegmentError
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