pub enum TrackWriterMode {
Track(TrackWriter),
Stream(StreamWriter),
Groups(GroupsWriter),
Objects(ObjectsWriter),
Datagrams(DatagramsWriter),
}
Variants§
Track(TrackWriter)
Stream(StreamWriter)
Groups(GroupsWriter)
Objects(ObjectsWriter)
Datagrams(DatagramsWriter)
Implementations§
Source§impl TrackWriterMode
impl TrackWriterMode
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.
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.
Source§impl From<ObjectsWriter> for TrackWriterMode
impl From<ObjectsWriter> for TrackWriterMode
Source§fn from(writer: ObjectsWriter) -> Self
fn from(writer: ObjectsWriter) -> Self
Converts to this type from the input type.
Source§impl From<StreamWriter> for TrackWriterMode
impl From<StreamWriter> for TrackWriterMode
Source§fn from(writer: StreamWriter) -> Self
fn from(writer: StreamWriter) -> Self
Converts to this type from the input type.
Source§impl From<TrackWriter> for TrackWriterMode
impl From<TrackWriter> for TrackWriterMode
Source§fn from(writer: TrackWriter) -> Self
fn from(writer: TrackWriter) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrackWriterMode
impl RefUnwindSafe for TrackWriterMode
impl Send for TrackWriterMode
impl Sync for TrackWriterMode
impl Unpin for TrackWriterMode
impl UnwindSafe for TrackWriterMode
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