Struct libflate::gzip::ExtraSubField[][src]

pub struct ExtraSubField {
    pub id: [u8; 2],
    pub data: Vec<u8>,
}

A sub field in the extra field of a GZIP header.

Fields

id: [u8; 2]

ID of the field.

data: Vec<u8>

Data of the field.

Trait Implementations

impl Clone for ExtraSubField[src]

impl Debug for ExtraSubField[src]

impl Eq for ExtraSubField[src]

impl Hash for ExtraSubField[src]

impl PartialEq<ExtraSubField> for ExtraSubField[src]

impl StructuralEq for ExtraSubField[src]

impl StructuralPartialEq for ExtraSubField[src]

Auto Trait Implementations

impl RefUnwindSafe for ExtraSubField

impl Send for ExtraSubField

impl Sync for ExtraSubField

impl Unpin for ExtraSubField

impl UnwindSafe for ExtraSubField

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.