pub struct EngineIncoming { /* private fields */ }
Expand description
Incoming record for an engine’s sync
Implementations§
source§impl EngineIncoming
impl EngineIncoming
pub fn new() -> Self
sourcepub fn new_failed(&mut self, n: u32)
pub fn new_failed(&mut self, n: u32)
Increment the value of new_failed
by n
.
sourcepub fn reconciled(&mut self, n: u32)
pub fn reconciled(&mut self, n: u32)
Increment the value of reconciled
by n
.
sourcepub fn get_applied(&self) -> u32
pub fn get_applied(&self) -> u32
Get the value of applied
. Mostly useful for testing.
sourcepub fn get_failed(&self) -> u32
pub fn get_failed(&self) -> u32
Get the value of failed
. Mostly useful for testing.
sourcepub fn get_new_failed(&self) -> u32
pub fn get_new_failed(&self) -> u32
Get the value of new_failed
. Mostly useful for testing.
sourcepub fn get_reconciled(&self) -> u32
pub fn get_reconciled(&self) -> u32
Get the value of reconciled
. Mostly useful for testing.
Trait Implementations§
source§impl Debug for EngineIncoming
impl Debug for EngineIncoming
source§impl Default for EngineIncoming
impl Default for EngineIncoming
source§fn default() -> EngineIncoming
fn default() -> EngineIncoming
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EngineIncoming
impl RefUnwindSafe for EngineIncoming
impl Send for EngineIncoming
impl Sync for EngineIncoming
impl Unpin for EngineIncoming
impl UnwindSafe for EngineIncoming
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more