pub struct StdioSubscriber { /* private fields */ }Expand description
A subscription to one stream key on standard input; yields SeaMessages.
Standard input has no retained log: there is no acknowledgement and no repositioning, and both are reported as unsupported rather than pretended.
Trait Implementations§
Source§impl Debug for StdioSubscriber
impl Debug for StdioSubscriber
Source§impl Subscriber for StdioSubscriber
impl Subscriber for StdioSubscriber
Source§type Message = SeaMessage
type Message = SeaMessage
The message type yielded by this subscriber.
Source§type Error = SeaFileError
type Error = SeaFileError
The error type yielded by the stream when delivery fails.
Source§fn stream(
&mut self,
) -> impl Stream<Item = Result<SeaMessage, SeaFileError>> + Send + '_
fn stream( &mut self, ) -> impl Stream<Item = Result<SeaMessage, SeaFileError>> + Send + '_
Returns a stream of broker deliveries. Read more
Auto Trait Implementations§
impl Freeze for StdioSubscriber
impl RefUnwindSafe for StdioSubscriber
impl Send for StdioSubscriber
impl Sync for StdioSubscriber
impl Unpin for StdioSubscriber
impl UnsafeUnpin for StdioSubscriber
impl UnwindSafe for StdioSubscriber
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