pub struct DiskWriteError {
pub piece: u32,
pub begin: u32,
pub error: Error,
}Expand description
Error reported asynchronously from a non-blocking disk write.
Fields§
§piece: u32Piece index that failed to write.
begin: u32Byte offset within the piece.
error: ErrorThe underlying storage error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiskWriteError
impl !RefUnwindSafe for DiskWriteError
impl Send for DiskWriteError
impl Sync for DiskWriteError
impl Unpin for DiskWriteError
impl UnsafeUnpin for DiskWriteError
impl !UnwindSafe for DiskWriteError
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