Type Alias dryoc::protected::ptypes::LockedRO

source ·
pub type LockedRO<T> = Protected<T, ReadOnly, Locked>;
Available on crate feature nightly only.
Expand description

Locked, read-only, page-aligned memory region type alias

Aliased Type§

struct LockedRO<T> { /* private fields */ }

Trait Implementations§

source§

impl<T: Zeroize + NewBytes + ResizableBytes + Lockable<T> + NewLocked<T>> Clone for LockedRO<T>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Serialize for LockedRO<HeapBytes>

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