Type Definition dryoc::protected::ptypes::Locked

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

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

Trait Implementations§

source§

impl<T: Zeroize + NewBytes + ResizableBytes + Lockable<T> + NewLocked<T>> Clone for Locked<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<'de, const LENGTH: usize> Deserialize<'de> for Locked<HeapByteArray<LENGTH>>

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<const LENGTH: usize> Serialize for Locked<HeapByteArray<LENGTH>>

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