pub struct StreamingValueBuilder { /* private fields */ }Expand description
Builder pattern for constructing values from events
Implementations§
Source§impl StreamingValueBuilder
impl StreamingValueBuilder
Sourcepub fn new() -> StreamingValueBuilder
pub fn new() -> StreamingValueBuilder
Create a new value builder
Sourcepub fn process_event(&mut self, event: StreamingEvent) -> Result<(), Error>
pub fn process_event(&mut self, event: StreamingEvent) -> Result<(), Error>
Process a streaming event
Trait Implementations§
Source§impl Default for StreamingValueBuilder
impl Default for StreamingValueBuilder
Source§fn default() -> StreamingValueBuilder
fn default() -> StreamingValueBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamingValueBuilder
impl RefUnwindSafe for StreamingValueBuilder
impl Send for StreamingValueBuilder
impl Sync for StreamingValueBuilder
impl Unpin for StreamingValueBuilder
impl UnsafeUnpin for StreamingValueBuilder
impl UnwindSafe for StreamingValueBuilder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more