Skip to main content

LockedBytes

Type Alias LockedBytes 

Source
pub type LockedBytes = Locked<HeapBytes>;
Available on crate feature protected only.
Expand description

Locked, read-write, page-aligned bytes type alias

Aliased Type§

pub struct LockedBytes { /* private fields */ }

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for LockedBytes

Available on crate feature serde and (crate feature protected and (Unix or Windows)) only.
Source§

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 Serialize for LockedBytes

Available on crate feature serde and (crate feature protected and (Unix or Windows)) only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more