pub struct StoreStream { /* private fields */ }Expand description
The open counterpart of store: offers records one at a time; see
store_stream.
Implementations§
Source§impl StoreStream
impl StoreStream
Sourcepub fn offer(&mut self, record: Record) -> Result<StoreRecordDisposition>
pub fn offer(&mut self, record: Record) -> Result<StoreRecordDisposition>
Store record into the provider and drive to the next fixed point:
Saved when the provider sent it, Skipped when it did not or the
provider already held it. An error ends the stream; later calls
return it, and records saved before it stay saved.
Auto Trait Implementations§
impl !RefUnwindSafe for StoreStream
impl !Send for StoreStream
impl !Sync for StoreStream
impl !UnwindSafe for StoreStream
impl Freeze for StoreStream
impl Unpin for StoreStream
impl UnsafeUnpin for StoreStream
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