pub struct AutoVaryLayer;Available on crate feature
auto-vary only.Expand description
Addresses htmx caching issues
by automatically adding a corresponding Vary header when
HxRequest, HxTarget, HxTrigger, HxTriggerName
or their combination is used.
Trait Implementations§
Source§impl Clone for AutoVaryLayer
impl Clone for AutoVaryLayer
Source§fn clone(&self) -> AutoVaryLayer
fn clone(&self) -> AutoVaryLayer
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AutoVaryLayer
impl RefUnwindSafe for AutoVaryLayer
impl Send for AutoVaryLayer
impl Sync for AutoVaryLayer
impl Unpin for AutoVaryLayer
impl UnwindSafe for AutoVaryLayer
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