pub struct StdioPublisher { /* private fields */ }Expand description
Publishes messages to standard output.
The line format is the client’s own; payloads must be text, so a non-UTF-8 payload (and any message with headers) travels in the text-safe envelope. The client silently drops empty lines, so an empty payload is rejected here instead.
Trait Implementations§
Source§impl Clone for StdioPublisher
impl Clone for StdioPublisher
Source§fn clone(&self) -> StdioPublisher
fn clone(&self) -> StdioPublisher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StdioPublisher
impl Debug for StdioPublisher
Auto Trait Implementations§
impl !RefUnwindSafe for StdioPublisher
impl !UnwindSafe for StdioPublisher
impl Freeze for StdioPublisher
impl Send for StdioPublisher
impl Sync for StdioPublisher
impl Unpin for StdioPublisher
impl UnsafeUnpin for StdioPublisher
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