pub enum IdReuse {
UseIncoming,
IgnoreIncoming,
}
Expand description
Configuration setting to decide weather the request id from the incoming request header should be used, if present or if a new one should be generated in any case.
Variants§
UseIncoming
Reuse the incoming request id.
IgnoreIncoming
Ignore the incoming request id and generate a random one, even if the request supplied an id.
Trait Implementations§
impl Copy for IdReuse
impl Eq for IdReuse
impl StructuralPartialEq for IdReuse
Auto Trait Implementations§
impl Freeze for IdReuse
impl RefUnwindSafe for IdReuse
impl Send for IdReuse
impl Sync for IdReuse
impl Unpin for IdReuse
impl UnwindSafe for IdReuse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.