pub struct ConnHandler;Expand description
Graceful stream shutdown handler
Trait Implementations§
Source§impl ConnHandler<RecvStream, SendStream> for ConnHandler
impl ConnHandler<RecvStream, SendStream> for ConnHandler
Source§async fn on_ingress(rx: RecvStream, res: Result<()>)
async fn on_ingress(rx: RecvStream, res: Result<()>)
Handle ingress completion
Auto Trait Implementations§
impl Freeze for ConnHandler
impl RefUnwindSafe for ConnHandler
impl Send for ConnHandler
impl Sync for ConnHandler
impl Unpin for ConnHandler
impl UnwindSafe for ConnHandler
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