#[repr(C)]pub struct Worker {
pub is_current: bool,
pub status: String,
pub id: u64,
pub short_desc: String,
pub active_subprocess: String,
pub current_size: u64,
pub total_size: u64,
pub complete: bool,
}Expand description
A simple representation of an Acquire worker.
TODO: Make this better.
Fields
is_current: boolstatus: Stringid: u64short_desc: Stringactive_subprocess: Stringcurrent_size: u64total_size: u64complete: boolTrait Implementations
sourceimpl ExternType for Worker
impl ExternType for Worker
type Kind = Trivial
type Kind = Trivial
Either cxx::kind::Opaque or cxx::kind::Trivial. Read more
Auto Trait Implementations
impl RefUnwindSafe for Worker
impl Send for Worker
impl Sync for Worker
impl Unpin for Worker
impl UnwindSafe for Worker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more