pub struct EchoService { /* private fields */ }Implementations§
Source§impl EchoService
impl EchoService
pub fn layer<C>() -> impl FactoryLayer<C, (), Factory = Self>where
C: Param<EchoConfig>,
Trait Implementations§
Source§impl AsyncMakeService for EchoService
impl AsyncMakeService for EchoService
Source§type Service = EchoService
type Service = EchoService
The type of service this factory creates.
Source§type Error = Infallible
type Error = Infallible
The type of error that can occur during service creation.
Source§impl MakeService for EchoService
impl MakeService for EchoService
Source§type Service = EchoService
type Service = EchoService
The type of service this factory creates.
Source§type Error = Infallible
type Error = Infallible
The type of error that can occur during service creation.
Source§impl<S> Service<S> for EchoServicewhere
S: AsyncReadRent + AsyncWriteRent,
impl<S> Service<S> for EchoServicewhere
S: AsyncReadRent + AsyncWriteRent,
Auto Trait Implementations§
impl Freeze for EchoService
impl RefUnwindSafe for EchoService
impl Send for EchoService
impl Sync for EchoService
impl Unpin for EchoService
impl UnwindSafe for EchoService
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