pub struct DatagramsWriter {
pub track: Arc<Track>,
/* private fields */
}
Fields§
§track: Arc<Track>
Implementations§
Source§impl DatagramsWriter
impl DatagramsWriter
pub fn write(&mut self, datagram: Datagram) -> Result<(), ServeError>
pub fn close(self, err: ServeError) -> Result<(), ServeError>
Trait Implementations§
Source§impl From<DatagramsWriter> for TrackWriterMode
impl From<DatagramsWriter> for TrackWriterMode
Source§fn from(writer: DatagramsWriter) -> Self
fn from(writer: DatagramsWriter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DatagramsWriter
impl RefUnwindSafe for DatagramsWriter
impl Send for DatagramsWriter
impl Sync for DatagramsWriter
impl Unpin for DatagramsWriter
impl UnwindSafe for DatagramsWriter
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