pub struct GroupsWriter {
pub info: Arc<Track>,
/* private fields */
}
Fields§
§info: Arc<Track>
Implementations§
Source§impl GroupsWriter
impl GroupsWriter
pub fn append(&mut self, priority: u8) -> Result<GroupWriter, ServeError>
pub fn create(&mut self, group: Group) -> Result<GroupWriter, ServeError>
Sourcepub fn close(self, err: ServeError) -> Result<(), ServeError>
pub fn close(self, err: ServeError) -> Result<(), ServeError>
Close the segment with an error.
Trait Implementations§
Source§impl Deref for GroupsWriter
impl Deref for GroupsWriter
Source§impl From<GroupsWriter> for TrackWriterMode
impl From<GroupsWriter> for TrackWriterMode
Source§fn from(writer: GroupsWriter) -> Self
fn from(writer: GroupsWriter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GroupsWriter
impl RefUnwindSafe for GroupsWriter
impl Send for GroupsWriter
impl Sync for GroupsWriter
impl Unpin for GroupsWriter
impl UnwindSafe for GroupsWriter
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