pub struct InstalledPipe<Protocol: PipeEnd, Transport> { /* private fields */ }Implementations§
Source§impl<Protocol: PipeEnd, Transport> InstalledPipe<Protocol, Transport>
impl<Protocol: PipeEnd, Transport> InstalledPipe<Protocol, Transport>
pub const fn new(transport: Transport) -> Self
pub const fn transport(&self) -> &Transport
pub const fn transport_mut(&mut self) -> &mut Transport
pub fn into_transport(self) -> Transport
Source§impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: PipeDriver<Protocol>,
impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: PipeDriver<Protocol>,
pub fn outgoing(&mut self) -> Transport::Outgoing<'_>
pub fn drive<Handler>(
&mut self,
activation: Transport::Activation,
handler: &mut Handler,
) -> ReceiveFromOutcome<(), Transport::Activation, DriveFailure<Transport::Failure, Handler::Failure>>where
Handler: PipeOutputHandler<Protocol, Transport>,
Source§impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: AdmittedPipeDriver<Protocol>,
impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: AdmittedPipeDriver<Protocol>,
pub fn drive_admitted<Handler>(
&mut self,
activation: Transport::Activation,
handler: &mut Handler,
) -> ReceiveFromOutcome<(), Transport::Activation, DriveFailure<Transport::Failure, Handler::Failure>>where
Handler: PipeOutputHandler<Protocol, Transport> + IntakeGate<Transport::IntakeContext, Handler::Failure>,
Source§impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: DuplexTransport<Protocol>,
impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: DuplexTransport<Protocol>,
Source§impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: TransportTo<Protocol>,
impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: TransportTo<Protocol>,
Source§impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: TransportFrom<Protocol>,
impl<Protocol, Transport> InstalledPipe<Protocol, Transport>where
Protocol: PipeEnd,
Transport: TransportFrom<Protocol>,
pub fn receive_from<'message>( &'message mut self, incoming_message: Transport::IncomingMessage<'message>, ) -> ReceiveFromOutcome<Protocol::Receives<'message>, Transport::IncomingMessage<'message>, Transport::Failure>
Trait Implementations§
Source§impl<P: PipeEnd, T: PipeDriver<P>> PipeBinding for InstalledPipe<P, T>
impl<P: PipeEnd, T: PipeDriver<P>> PipeBinding for InstalledPipe<P, T>
Auto Trait Implementations§
impl<Protocol, Transport> Freeze for InstalledPipe<Protocol, Transport>
impl<Protocol, Transport> RefUnwindSafe for InstalledPipe<Protocol, Transport>
impl<Protocol, Transport> Send for InstalledPipe<Protocol, Transport>
impl<Protocol, Transport> Sync for InstalledPipe<Protocol, Transport>
impl<Protocol, Transport> Unpin for InstalledPipe<Protocol, Transport>
impl<Protocol, Transport> UnsafeUnpin for InstalledPipe<Protocol, Transport>
impl<Protocol, Transport> UnwindSafe for InstalledPipe<Protocol, Transport>
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