#[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§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§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
)