pub struct DataStream<T>{ /* private fields */ }
Expand description
Stream of messages delivered to a consumer.
The message data is deserialized and typed to data type related to a command.
Implementations§
Source§impl<T> DataStream<T>
impl<T> DataStream<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DataStream<T>
impl<T> !RefUnwindSafe for DataStream<T>
impl<T> Send for DataStream<T>
impl<T> Sync for DataStream<T>
impl<T> Unpin for DataStream<T>where
T: Unpin,
impl<T> !UnwindSafe for DataStream<T>
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