pub enum Subscriber {
AnnounceOk(AnnounceOk),
AnnounceError(AnnounceError),
AnnounceCancel(AnnounceCancel),
Subscribe(Subscribe),
Unsubscribe(Unsubscribe),
SubscribeUpdate(SubscribeUpdate),
TrackStatusRequest(TrackStatusRequest),
}
Variants§
AnnounceOk(AnnounceOk)
AnnounceError(AnnounceError)
AnnounceCancel(AnnounceCancel)
Subscribe(Subscribe)
Unsubscribe(Unsubscribe)
SubscribeUpdate(SubscribeUpdate)
TrackStatusRequest(TrackStatusRequest)
Trait Implementations§
Source§impl Clone for Subscriber
impl Clone for Subscriber
Source§fn clone(&self) -> Subscriber
fn clone(&self) -> Subscriber
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 Subscriber
impl Debug for Subscriber
Source§impl From<AnnounceCancel> for Subscriber
impl From<AnnounceCancel> for Subscriber
Source§fn from(msg: AnnounceCancel) -> Self
fn from(msg: AnnounceCancel) -> Self
Converts to this type from the input type.
Source§impl From<AnnounceError> for Subscriber
impl From<AnnounceError> for Subscriber
Source§fn from(msg: AnnounceError) -> Self
fn from(msg: AnnounceError) -> Self
Converts to this type from the input type.
Source§impl From<AnnounceOk> for Subscriber
impl From<AnnounceOk> for Subscriber
Source§fn from(msg: AnnounceOk) -> Self
fn from(msg: AnnounceOk) -> Self
Converts to this type from the input type.
Source§impl From<Subscribe> for Subscriber
impl From<Subscribe> for Subscriber
Source§impl From<SubscribeUpdate> for Subscriber
impl From<SubscribeUpdate> for Subscriber
Source§fn from(msg: SubscribeUpdate) -> Self
fn from(msg: SubscribeUpdate) -> Self
Converts to this type from the input type.
Source§impl From<Subscriber> for Message
impl From<Subscriber> for Message
Source§fn from(p: Subscriber) -> Self
fn from(p: Subscriber) -> Self
Converts to this type from the input type.
Source§impl From<TrackStatusRequest> for Subscriber
impl From<TrackStatusRequest> for Subscriber
Source§fn from(msg: TrackStatusRequest) -> Self
fn from(msg: TrackStatusRequest) -> Self
Converts to this type from the input type.
Source§impl From<Unsubscribe> for Subscriber
impl From<Unsubscribe> for Subscriber
Source§fn from(msg: Unsubscribe) -> Self
fn from(msg: Unsubscribe) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Subscriber
impl RefUnwindSafe for Subscriber
impl Send for Subscriber
impl Sync for Subscriber
impl Unpin for Subscriber
impl UnwindSafe for Subscriber
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