pub enum SubscriberStatus {
Connected,
WindowAcknowledgementSizeGotSent,
Created,
FcSubscribed,
AdditionalCommandGotSent,
Began,
Played,
BufferLengthGotSent,
Other,
}
Expand description
The pattern of communication status between servers and subscriber clients.
Note there are several subscribing tools which will sent different commands between FCSubscribe and StreamBegin. For example:
- FFmpeg: getStreamLength
- OBS: set_playlist
Variants§
Connected
WindowAcknowledgementSizeGotSent
Created
FcSubscribed
AdditionalCommandGotSent
Began
Played
BufferLengthGotSent
Other
Trait Implementations§
Source§impl Clone for SubscriberStatus
impl Clone for SubscriberStatus
Source§fn clone(&self) -> SubscriberStatus
fn clone(&self) -> SubscriberStatus
Returns a copy 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 SubscriberStatus
impl Debug for SubscriberStatus
Source§impl Default for SubscriberStatus
impl Default for SubscriberStatus
Source§fn default() -> SubscriberStatus
fn default() -> SubscriberStatus
Returns the “default value” for a type. Read more
Source§impl Ord for SubscriberStatus
impl Ord for SubscriberStatus
Source§fn cmp(&self, other: &SubscriberStatus) -> Ordering
fn cmp(&self, other: &SubscriberStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SubscriberStatus
impl PartialEq for SubscriberStatus
Source§impl PartialOrd for SubscriberStatus
impl PartialOrd for SubscriberStatus
impl Copy for SubscriberStatus
impl Eq for SubscriberStatus
impl StructuralPartialEq for SubscriberStatus
Auto Trait Implementations§
impl Freeze for SubscriberStatus
impl RefUnwindSafe for SubscriberStatus
impl Send for SubscriberStatus
impl Sync for SubscriberStatus
impl Unpin for SubscriberStatus
impl UnwindSafe for SubscriberStatus
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