Struct hyper::server::server::NoopWatcher
source · pub struct NoopWatcher;
Trait Implementations§
source§impl Clone for NoopWatcher
impl Clone for NoopWatcher
source§fn clone(&self) -> NoopWatcher
fn clone(&self) -> NoopWatcher
Returns a copy 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<I, S, E> Watcher<I, S, E> for NoopWatcherwhere
I: AsyncRead + AsyncWrite + Unpin + Send + 'static,
S: HttpService<Body>,
E: ConnStreamExec<S::Future, S::ResBody>,
S::ResBody: 'static,
<S::ResBody as HttpBody>::Error: Into<Box<dyn StdError + Send + Sync>>,
impl<I, S, E> Watcher<I, S, E> for NoopWatcherwhere I: AsyncRead + AsyncWrite + Unpin + Send + 'static, S: HttpService<Body>, E: ConnStreamExec<S::Future, S::ResBody>, S::ResBody: 'static, <S::ResBody as HttpBody>::Error: Into<Box<dyn StdError + Send + Sync>>,
type Future = UpgradeableConnection<I, S, E>
fn watch(&self, conn: UpgradeableConnection<I, S, E>) -> Self::Future
impl Copy for NoopWatcher
Auto Trait Implementations§
impl RefUnwindSafe for NoopWatcher
impl Send for NoopWatcher
impl Sync for NoopWatcher
impl Unpin for NoopWatcher
impl UnwindSafe for NoopWatcher
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