pub struct ObjectWriter {
pub info: Arc<ObjectInfo>,
/* private fields */
}
Expand description
Used to write data to a segment and notify readers.
Fields§
§info: Arc<ObjectInfo>
Implementations§
Source§impl ObjectWriter
impl ObjectWriter
Sourcepub fn close(self, err: ServeError) -> Result<(), ServeError>
pub fn close(self, err: ServeError) -> Result<(), ServeError>
Close the segment with an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjectWriter
impl RefUnwindSafe for ObjectWriter
impl Send for ObjectWriter
impl Sync for ObjectWriter
impl Unpin for ObjectWriter
impl UnwindSafe for ObjectWriter
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