pub struct ProtoHttp2MakeLayer<SERVICE>{ /* private fields */ }Expand description
This is the initializer for the layer. Invocations to the service will take the sender and receiver of the connection and process the full lifetime.
Implementations§
Trait Implementations§
Source§impl<SERVICE> Layer<SERVICE> for ProtoHttp2MakeLayer<SERVICE>
impl<SERVICE> Layer<SERVICE> for ProtoHttp2MakeLayer<SERVICE>
Auto Trait Implementations§
impl<SERVICE> Freeze for ProtoHttp2MakeLayer<SERVICE>
impl<SERVICE> RefUnwindSafe for ProtoHttp2MakeLayer<SERVICE>where
SERVICE: RefUnwindSafe,
impl<SERVICE> Send for ProtoHttp2MakeLayer<SERVICE>
impl<SERVICE> Sync for ProtoHttp2MakeLayer<SERVICE>where
SERVICE: Sync,
impl<SERVICE> Unpin for ProtoHttp2MakeLayer<SERVICE>where
SERVICE: Unpin,
impl<SERVICE> UnwindSafe for ProtoHttp2MakeLayer<SERVICE>where
SERVICE: 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