pub enum TrailerPolicy {
Reject,
}Expand description
Response trailer handling.
Variants§
Reject
Reject declared or observed response trailers.
Trait Implementations§
Source§impl Clone for TrailerPolicy
impl Clone for TrailerPolicy
Source§fn clone(&self) -> TrailerPolicy
fn clone(&self) -> TrailerPolicy
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 moreimpl Copy for TrailerPolicy
Source§impl Debug for TrailerPolicy
impl Debug for TrailerPolicy
impl Eq for TrailerPolicy
Source§impl Hash for TrailerPolicy
impl Hash for TrailerPolicy
Source§impl Ord for TrailerPolicy
impl Ord for TrailerPolicy
Source§fn cmp(&self, other: &TrailerPolicy) -> Ordering
fn cmp(&self, other: &TrailerPolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TrailerPolicy
impl PartialEq for TrailerPolicy
Source§impl PartialOrd for TrailerPolicy
impl PartialOrd for TrailerPolicy
impl StructuralPartialEq for TrailerPolicy
Auto Trait Implementations§
impl Freeze for TrailerPolicy
impl RefUnwindSafe for TrailerPolicy
impl Send for TrailerPolicy
impl Sync for TrailerPolicy
impl Unpin for TrailerPolicy
impl UnsafeUnpin for TrailerPolicy
impl UnwindSafe for TrailerPolicy
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