pub struct TcpPipe { /* private fields */ }Implementations§
source§impl TcpPipe
impl TcpPipe
sourcepub fn new(config: TcpPipeConfig) -> Result<TcpPipe>
pub fn new(config: TcpPipeConfig) -> Result<TcpPipe>
Construct a TCP pipe with the specified configuration
pub fn writer_ref(&self) -> TcpPipeWriterRef<'_>
Auto Trait Implementations§
impl !Freeze for TcpPipe
impl !RefUnwindSafe for TcpPipe
impl Send for TcpPipe
impl Sync for TcpPipe
impl Unpin for TcpPipe
impl !UnwindSafe for TcpPipe
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