pub struct StreamOutcome { /* private fields */ }Expand description
Attempt outcome stored in caller-owned state.
Implementations§
Source§impl StreamOutcome
impl StreamOutcome
Sourcepub const fn state(self) -> StreamState
pub const fn state(self) -> StreamState
Returns the final or current lifecycle state.
Sourcepub const fn progress(self) -> StreamProgress
pub const fn progress(self) -> StreamProgress
Returns counters captured when the outcome was last updated.
Sourcepub const fn partial_state(self) -> StreamPartialState
pub const fn partial_state(self) -> StreamPartialState
Returns incomplete-state visibility and cleanup requirements.
Trait Implementations§
Source§impl Clone for StreamOutcome
impl Clone for StreamOutcome
Source§fn clone(&self) -> StreamOutcome
fn clone(&self) -> StreamOutcome
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 moreimpl Copy for StreamOutcome
Source§impl Debug for StreamOutcome
impl Debug for StreamOutcome
Source§impl Default for StreamOutcome
impl Default for StreamOutcome
impl Eq for StreamOutcome
Source§impl PartialEq for StreamOutcome
impl PartialEq for StreamOutcome
impl StructuralPartialEq for StreamOutcome
Auto Trait Implementations§
impl Freeze for StreamOutcome
impl RefUnwindSafe for StreamOutcome
impl Send for StreamOutcome
impl Sync for StreamOutcome
impl Unpin for StreamOutcome
impl UnsafeUnpin for StreamOutcome
impl UnwindSafe for StreamOutcome
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