pub struct ObjectsWriter {
pub track: Arc<Track>,
/* private fields */
}
Fields§
§track: Arc<Track>
Implementations§
Source§impl ObjectsWriter
impl ObjectsWriter
pub fn write( &mut self, object: Object, payload: Bytes, ) -> Result<(), ServeError>
pub fn create(&mut self, object: Object) -> Result<ObjectWriter, ServeError>
pub fn close(self, err: ServeError) -> Result<(), ServeError>
Trait Implementations§
Source§impl Deref for ObjectsWriter
impl Deref for ObjectsWriter
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.
Auto Trait Implementations§
impl Freeze for ObjectsWriter
impl RefUnwindSafe for ObjectsWriter
impl Send for ObjectsWriter
impl Sync for ObjectsWriter
impl Unpin for ObjectsWriter
impl UnwindSafe for ObjectsWriter
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