Skip to main content

Bytes

Type Alias Bytes 

Source
pub type Bytes = Option<Cow<'static, [u8]>>;
Expand description

A file’s contents, or None if it’s missing.

Aliased Type§

pub enum Bytes {
    None,
    Some(Cow<'static, [u8]>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Cow<'static, [u8]>)

Some value of type T.