pub struct ReceivePackCommandState {
pub command: ReceivePackCommand,
pub error_string: Option<String>,
pub proc_receive: u8,
pub was_proc_receive: bool,
pub reports: Vec<ProcReceiveReport>,
}Fields§
§command: ReceivePackCommand§error_string: Option<String>§proc_receive: u8§was_proc_receive: bool§reports: Vec<ProcReceiveReport>Implementations§
Source§impl ReceivePackCommandState
impl ReceivePackCommandState
pub fn new(command: ReceivePackCommand) -> Self
pub fn scheduled_for_proc_receive(&self) -> bool
pub fn defer_ref_update(&self) -> bool
pub fn expects_proc_receive_report(&self) -> bool
Trait Implementations§
Source§impl Clone for ReceivePackCommandState
impl Clone for ReceivePackCommandState
Source§fn clone(&self) -> ReceivePackCommandState
fn clone(&self) -> ReceivePackCommandState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReceivePackCommandState
impl Debug for ReceivePackCommandState
impl Eq for ReceivePackCommandState
Source§impl PartialEq for ReceivePackCommandState
impl PartialEq for ReceivePackCommandState
impl StructuralPartialEq for ReceivePackCommandState
Auto Trait Implementations§
impl Freeze for ReceivePackCommandState
impl RefUnwindSafe for ReceivePackCommandState
impl Send for ReceivePackCommandState
impl Sync for ReceivePackCommandState
impl Unpin for ReceivePackCommandState
impl UnsafeUnpin for ReceivePackCommandState
impl UnwindSafe for ReceivePackCommandState
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