pub struct BlockJobInfoBase {
pub error: Option<String>,
pub auto_dismiss: bool,
pub auto_finalize: bool,
pub busy: bool,
pub device: String,
pub io_status: BlockDeviceIoStatus,
pub len: i64,
pub offset: i64,
pub paused: bool,
pub ready: bool,
pub speed: i64,
pub status: JobStatus,
}
Fields§
§error: Option<String>
§auto_dismiss: bool
§auto_finalize: bool
§busy: bool
§device: String
§io_status: BlockDeviceIoStatus
§len: i64
§offset: i64
§paused: bool
§ready: bool
§speed: i64
§status: JobStatus
Trait Implementations§
Source§impl Clone for BlockJobInfoBase
impl Clone for BlockJobInfoBase
Source§fn clone(&self) -> BlockJobInfoBase
fn clone(&self) -> BlockJobInfoBase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockJobInfoBase
impl Debug for BlockJobInfoBase
Source§impl<'de> Deserialize<'de> for BlockJobInfoBase
impl<'de> Deserialize<'de> for BlockJobInfoBase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockJobInfoBase
impl RefUnwindSafe for BlockJobInfoBase
impl Send for BlockJobInfoBase
impl Sync for BlockJobInfoBase
impl Unpin for BlockJobInfoBase
impl UnwindSafe for BlockJobInfoBase
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