pub enum Publisher {
Announce(Announce),
Unannounce(Unannounce),
SubscribeOk(SubscribeOk),
SubscribeError(SubscribeError),
SubscribeDone(SubscribeDone),
TrackStatus(TrackStatus),
}
Variants§
Announce(Announce)
Unannounce(Unannounce)
SubscribeOk(SubscribeOk)
SubscribeError(SubscribeError)
SubscribeDone(SubscribeDone)
TrackStatus(TrackStatus)
Trait Implementations§
Source§impl From<SubscribeDone> for Publisher
impl From<SubscribeDone> for Publisher
Source§fn from(msg: SubscribeDone) -> Self
fn from(msg: SubscribeDone) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeError> for Publisher
impl From<SubscribeError> for Publisher
Source§fn from(msg: SubscribeError) -> Self
fn from(msg: SubscribeError) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeOk> for Publisher
impl From<SubscribeOk> for Publisher
Source§fn from(msg: SubscribeOk) -> Self
fn from(msg: SubscribeOk) -> Self
Converts to this type from the input type.
Source§impl From<TrackStatus> for Publisher
impl From<TrackStatus> for Publisher
Source§fn from(msg: TrackStatus) -> Self
fn from(msg: TrackStatus) -> Self
Converts to this type from the input type.
Source§impl From<Unannounce> for Publisher
impl From<Unannounce> for Publisher
Source§fn from(msg: Unannounce) -> Self
fn from(msg: Unannounce) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Publisher
impl RefUnwindSafe for Publisher
impl Send for Publisher
impl Sync for Publisher
impl Unpin for Publisher
impl UnwindSafe for Publisher
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