pub struct Stream {
pub reader: Box<dyn Read + Send>,
pub writer: Box<dyn Write + Send>,
/* private fields */
}Expand description
A raw duplex byte stream to an endpoint, for callers that speak their own
line protocol over the shared transport (HeardRight’s v1 EngineFrame
dialect, which has no hello). Same current-user-only transport as
crate::Client.
Fields§
§reader: Box<dyn Read + Send>§writer: Box<dyn Write + Send>Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Stream
impl !Sync for Stream
impl !UnwindSafe for Stream
impl Freeze for Stream
impl Send for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
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