pub struct DebugIoService<InnerService>where
InnerService: Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>), Response = ()> + Clone + Send + 'static,{ /* private fields */ }Trait Implementations§
Source§impl<InnerService> Clone for DebugIoService<InnerService>where
InnerService: Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>), Response = ()> + Clone + Send + 'static + Clone,
impl<InnerService> Clone for DebugIoService<InnerService>where
InnerService: Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>), Response = ()> + Clone + Send + 'static + Clone,
Source§fn clone(&self) -> DebugIoService<InnerService>
fn clone(&self) -> DebugIoService<InnerService>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<InnerService, Reader, Writer> Service<(Reader, Writer)> for DebugIoService<InnerService>where
InnerService: Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>), Response = ()> + Clone + Send + 'static,
InnerService::Future: Future<Output = Result<InnerService::Response, InnerService::Error>> + Send + 'static,
InnerService::Error: Send + 'static,
Reader: AsyncReadExt + Send + Unpin + 'static,
Writer: AsyncWriteExt + Send + Unpin + 'static,
impl<InnerService, Reader, Writer> Service<(Reader, Writer)> for DebugIoService<InnerService>where
InnerService: Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>), Response = ()> + Clone + Send + 'static,
InnerService::Future: Future<Output = Result<InnerService::Response, InnerService::Error>> + Send + 'static,
InnerService::Error: Send + 'static,
Reader: AsyncReadExt + Send + Unpin + 'static,
Writer: AsyncWriteExt + Send + Unpin + 'static,
Source§type Error = <InnerService as Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>)>>::Error
type Error = <InnerService as Service<(ReadHalf<SimplexStream>, WriteHalf<SimplexStream>)>>::Error
Errors produced by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<<DebugIoService<InnerService> as Service<(Reader, Writer)>>::Response, <DebugIoService<InnerService> as Service<(Reader, Writer)>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<DebugIoService<InnerService> as Service<(Reader, Writer)>>::Response, <DebugIoService<InnerService> as Service<(Reader, Writer)>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl<InnerService> Freeze for DebugIoService<InnerService>where
InnerService: Freeze,
impl<InnerService> RefUnwindSafe for DebugIoService<InnerService>where
InnerService: RefUnwindSafe,
impl<InnerService> Send for DebugIoService<InnerService>
impl<InnerService> Sync for DebugIoService<InnerService>where
InnerService: Sync,
impl<InnerService> Unpin for DebugIoService<InnerService>where
InnerService: Unpin,
impl<InnerService> UnwindSafe for DebugIoService<InnerService>where
InnerService: UnwindSafe,
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