Enum delivery_blob::DeliveryBlobType
source · #[repr(u32)]pub enum DeliveryBlobType {
Reserved = 0,
Type1 = 1,
}
Expand description
Type of delivery blob.
WARNING: These constants are used when generating delivery blobs and should not be changed. Non backwards-compatible changes to delivery blob formats should be made by creating a new type.
Variants§
Reserved = 0
Reserved for internal use.
Type1 = 1
Type 1 delivery blobs support the zstd-chunked compression format.
Trait Implementations§
source§impl Clone for DeliveryBlobType
impl Clone for DeliveryBlobType
source§fn clone(&self) -> DeliveryBlobType
fn clone(&self) -> DeliveryBlobType
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 DeliveryBlobType
impl Debug for DeliveryBlobType
source§impl<'de> Deserialize<'de> for DeliveryBlobType
impl<'de> Deserialize<'de> for DeliveryBlobType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<DeliveryBlobType> for u32
impl From<DeliveryBlobType> for u32
source§fn from(value: DeliveryBlobType) -> Self
fn from(value: DeliveryBlobType) -> Self
Converts to this type from the input type.
source§impl PartialEq for DeliveryBlobType
impl PartialEq for DeliveryBlobType
source§fn eq(&self, other: &DeliveryBlobType) -> bool
fn eq(&self, other: &DeliveryBlobType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeliveryBlobType
impl Serialize for DeliveryBlobType
source§impl TryFrom<u32> for DeliveryBlobType
impl TryFrom<u32> for DeliveryBlobType
impl Copy for DeliveryBlobType
impl Eq for DeliveryBlobType
impl StructuralPartialEq for DeliveryBlobType
Auto Trait Implementations§
impl Freeze for DeliveryBlobType
impl RefUnwindSafe for DeliveryBlobType
impl Send for DeliveryBlobType
impl Sync for DeliveryBlobType
impl Unpin for DeliveryBlobType
impl UnwindSafe for DeliveryBlobType
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)