pub enum TrackStatusState {
Idle,
Pending,
Done,
}Expand description
TrackStatus lifecycle states (draft-08).
Draft-07 TRACK_STATUS is a single request/response pair: the requester sends TRACK_STATUS_REQUEST, and the publisher replies with TRACK_STATUS. There are no OK / ERROR variants.
Variants§
Idle
Initial state before any TRACK_STATUS_REQUEST is sent.
Pending
TRACK_STATUS_REQUEST has been sent; awaiting TRACK_STATUS reply.
Done
Track status reply received.
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 · 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 TrackStatusState
impl Debug for TrackStatusState
Source§impl PartialEq for TrackStatusState
impl PartialEq for TrackStatusState
impl Copy for TrackStatusState
impl Eq 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