pub enum BlktraceError {
}Expand description
Errors returned by this crate.
Variants§
DebugfsUnsupported
The kernel has no debugfs support, which blktrace requires.
MountDebugfs(Error)
Mounting debugfs failed.
Setup(Error)
The BLKTRACESETUP ioctl failed.
Start(Error)
The BLKTRACESTART ioctl failed.
Stop(Error)
The BLKTRACESTOP ioctl failed.
Teardown(Error)
The BLKTRACETEARDOWN ioctl failed.
FlushBuffers(Error)
The BLKFLSBUF ioctl failed.
MagicMismatch
A trace record’s magic number did not match the kernel UAPI value.
InvalidBlockName
The block name the kernel returned is not valid UTF-8.
ReadDropped(Error)
Reading the dropped-event counter failed.
ParseDropped
The dropped-event counter is not a number.
ThreadPanicked
A reader or collector thread died unexpectedly.
Io(Error)
An I/O error.
Trait Implementations§
Source§impl Debug for BlktraceError
impl Debug for BlktraceError
Source§impl Display for BlktraceError
impl Display for BlktraceError
Source§impl Error for BlktraceError
impl Error for BlktraceError
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 !RefUnwindSafe for BlktraceError
impl !UnwindSafe for BlktraceError
impl Freeze for BlktraceError
impl Send for BlktraceError
impl Sync for BlktraceError
impl Unpin for BlktraceError
impl UnsafeUnpin for BlktraceError
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