Type Alias dryoc::protected::ptypes::LockedBytes

source ·
pub type LockedBytes = Locked<HeapBytes>;
Available on crate feature nightly only.
Expand description

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

Aliased Type§

struct LockedBytes { /* private fields */ }

Trait Implementations§

source§

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

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

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