pub enum TrackStatusState {
Idle,
Pending,
Done,
}Expand description
TrackStatus lifecycle states.
This draft renamed the request to TRACK_STATUS and gave it two answers of its own. Section 8.21: “The publisher sends a TRACK_STATUS_OK control message in response to a successful TRACK_STATUS message.” A machine with one arrival event for both cannot say which of them ended the request, and nothing downstream of it can either.
Variants§
Idle
Initial state before any TRACK_STATUS message is sent.
Pending
TRACK_STATUS has been sent; awaiting OK or ERROR.
Done
Track status request has completed.
Trait Implementations§
Source§impl Clone for TrackStatusState
impl Clone for TrackStatusState
Source§fn clone(&self) -> TrackStatusState
fn clone(&self) -> TrackStatusState
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 TrackStatusState
Source§impl Debug for TrackStatusState
impl Debug for TrackStatusState
impl Eq for TrackStatusState
Source§impl PartialEq for TrackStatusState
impl PartialEq for TrackStatusState
impl StructuralPartialEq for TrackStatusState
Auto Trait Implementations§
impl Freeze for TrackStatusState
impl RefUnwindSafe for TrackStatusState
impl Send for TrackStatusState
impl Sync for TrackStatusState
impl Unpin for TrackStatusState
impl UnsafeUnpin for TrackStatusState
impl UnwindSafe for TrackStatusState
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