pub struct Subscriber { /* private fields */ }
Implementations§
Source§impl Subscriber
impl Subscriber
pub async fn accept(session: Session) -> Result<(Session, Self), SessionError>
pub async fn connect(session: Session) -> Result<(Session, Self), SessionError>
pub async fn announced(&mut self) -> Option<Announced>
pub async fn subscribe(&mut self, track: TrackWriter) -> Result<(), ServeError>
pub fn recv_datagram(&mut self, datagram: Bytes) -> Result<(), SessionError>
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 moreAuto 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