Trait hyper::upgrade::sealed::CanUpgrade

source ·
pub trait CanUpgrade {
    // Required method
    fn on_upgrade(self) -> OnUpgrade ;
}

Required Methods§

Implementors§

source§

impl<B> CanUpgrade for &mut Request<B>

source§

impl<B> CanUpgrade for &mut Response<B>

source§

impl<B> CanUpgrade for Request<B>

source§

impl<B> CanUpgrade for Response<B>