Struct twilight_standby::ProcessResults
source · pub struct ProcessResults { /* private fields */ }
Expand description
Number of Standby
calls that were completed.
Implementations§
source§impl ProcessResults
impl ProcessResults
sourcepub const fn fulfilled(&self) -> usize
pub const fn fulfilled(&self) -> usize
Number of Standby
calls that were fulfilled.
Calls for futures via methods such as Standby::wait_for
will be
marked as fulfilled once matched and an event is sent over the channel.
Caveat: although an event has been sent over the channel to the receiver it is not guaranteed whether the receiver end actually received it; the receiver end may drop shortly after an event is sent. In this case the call is considered to be fulfilled.
sourcepub const fn sent(&self) -> usize
pub const fn sent(&self) -> usize
Number of Standby
streaming calls that were matched and had an event
sent to them.
Caveat: although an event has been sent over the channel to the
receiver it is not guaranteed whether the receiver end actually received
it; the receiver end may drop shortly after an event is sent. In this
case the call is considered to be sent. Checks over this call will in
the future be considered dropped
.
Trait Implementations§
source§impl Clone for ProcessResults
impl Clone for ProcessResults
source§fn clone(&self) -> ProcessResults
fn clone(&self) -> ProcessResults
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessResults
impl Debug for ProcessResults
source§impl Hash for ProcessResults
impl Hash for ProcessResults
source§impl PartialEq for ProcessResults
impl PartialEq for ProcessResults
source§fn eq(&self, other: &ProcessResults) -> bool
fn eq(&self, other: &ProcessResults) -> bool
self
and other
values to be equal, and is used
by ==
.