Struct wasefire_board_api::crypto::aead::AeadSupport
source · pub struct AeadSupport {
pub no_copy: bool,
pub in_place_no_copy: bool,
}
Available on crate features
internal-api-crypto
and internal-api-crypto-aead
only.Expand description
Describes how AEAD is supported.
Fields§
§no_copy: bool
The implementation doesn’t copy when the input and output are in distinct buffers.
in_place_no_copy: bool
The implementation doesn’t copy when the input and output are in the same buffer.
Trait Implementations§
source§impl Clone for AeadSupport
impl Clone for AeadSupport
source§fn clone(&self) -> AeadSupport
fn clone(&self) -> AeadSupport
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<AeadSupport> for bool
impl From<AeadSupport> for bool
source§fn from(value: AeadSupport) -> Self
fn from(value: AeadSupport) -> Self
Converts to this type from the input type.
impl Copy for AeadSupport
Auto Trait Implementations§
impl Freeze for AeadSupport
impl RefUnwindSafe for AeadSupport
impl Send for AeadSupport
impl Sync for AeadSupport
impl Unpin for AeadSupport
impl UnwindSafe for AeadSupport
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)