pub enum PublishState {
Idle,
Publishing,
Active,
Done,
}Expand description
Publish lifecycle states (publisher side).
Variants§
Idle
Initial state before any PUBLISH message is sent.
Publishing
PUBLISH has been sent; awaiting OK or ERROR.
Active
PUBLISH_OK received; the track is being published.
Done
Publish has ended (error or PUBLISH_DONE sent).
Trait Implementations§
Source§impl Clone for PublishState
impl Clone for PublishState
Source§fn clone(&self) -> PublishState
fn clone(&self) -> PublishState
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 PublishState
impl Debug for PublishState
Source§impl PartialEq for PublishState
impl PartialEq for PublishState
impl Copy for PublishState
impl Eq for PublishState
impl StructuralPartialEq for PublishState
Auto Trait Implementations§
impl Freeze for PublishState
impl RefUnwindSafe for PublishState
impl Send for PublishState
impl Sync for PublishState
impl Unpin for PublishState
impl UnsafeUnpin for PublishState
impl UnwindSafe for PublishState
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