Enum web_push::ContentEncoding
source · pub enum ContentEncoding {
Aes128Gcm,
AesGcm,
}
Expand description
Content encoding profiles.
Variants§
Aes128Gcm
AesGcm
Note: this is an older version of ECE, and should not be used unless you know for sure it is required. In all other cases, use aes128gcm.
Implementations§
Trait Implementations§
source§impl Clone for ContentEncoding
impl Clone for ContentEncoding
source§fn clone(&self) -> ContentEncoding
fn clone(&self) -> ContentEncoding
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 Debug for ContentEncoding
impl Debug for ContentEncoding
source§impl Default for ContentEncoding
impl Default for ContentEncoding
source§fn default() -> ContentEncoding
fn default() -> ContentEncoding
Returns the “default value” for a type. Read more
source§impl PartialEq for ContentEncoding
impl PartialEq for ContentEncoding
source§fn eq(&self, other: &ContentEncoding) -> bool
fn eq(&self, other: &ContentEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ContentEncoding
impl StructuralPartialEq for ContentEncoding
Auto Trait Implementations§
impl RefUnwindSafe for ContentEncoding
impl Send for ContentEncoding
impl Sync for ContentEncoding
impl Unpin for ContentEncoding
impl UnwindSafe for ContentEncoding
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