pub struct AltSvcLayer { /* private fields */ }Expand description
Tower layer that inserts an HTTP/3 Alt-Svc response header.
Implementations§
Trait Implementations§
Source§impl Clone for AltSvcLayer
impl Clone for AltSvcLayer
Source§fn clone(&self) -> AltSvcLayer
fn clone(&self) -> AltSvcLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AltSvcLayer
impl Debug for AltSvcLayer
impl Eq for AltSvcLayer
Source§impl<S> Layer<S> for AltSvcLayer
impl<S> Layer<S> for AltSvcLayer
Source§impl PartialEq for AltSvcLayer
impl PartialEq for AltSvcLayer
impl StructuralPartialEq for AltSvcLayer
Auto Trait Implementations§
impl !Freeze for AltSvcLayer
impl RefUnwindSafe for AltSvcLayer
impl Send for AltSvcLayer
impl Sync for AltSvcLayer
impl Unpin for AltSvcLayer
impl UnsafeUnpin for AltSvcLayer
impl UnwindSafe for AltSvcLayer
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