pub struct Subscribed {
pub info: SubscribeInfo,
/* private fields */
}
Fields§
§info: SubscribeInfo
Implementations§
Source§impl Subscribed
impl Subscribed
pub async fn serve(self, track: TrackReader) -> Result<(), SessionError>
pub fn close(self, err: ServeError) -> Result<(), ServeError>
pub async fn closed(&self) -> Result<(), ServeError>
Source§impl Subscribed
impl Subscribed
pub async fn serve_objects( &mut self, objects: ObjectsReader, ) -> Result<(), SessionError>
Trait Implementations§
Source§impl Deref for Subscribed
impl Deref for Subscribed
Auto Trait Implementations§
impl Freeze for Subscribed
impl RefUnwindSafe for Subscribed
impl Send for Subscribed
impl Sync for Subscribed
impl Unpin for Subscribed
impl UnwindSafe for Subscribed
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