Struct esp_idf_sys::SHAContext
source · #[repr(C)]pub struct SHAContext {
pub start: bool,
pub in_hardware: bool,
pub type_: SHA_TYPE,
pub state: [u32; 16],
pub buffer: [c_uchar; 128],
pub total_bits: [u32; 4],
}
Fields§
§start: bool
§in_hardware: bool
§type_: SHA_TYPE
§state: [u32; 16]
§buffer: [c_uchar; 128]
§total_bits: [u32; 4]
Trait Implementations§
source§impl Clone for SHAContext
impl Clone for SHAContext
source§fn clone(&self) -> SHAContext
fn clone(&self) -> SHAContext
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SHAContext
impl Debug for SHAContext
source§impl Default for SHAContext
impl Default for SHAContext
impl Copy for SHAContext
Auto Trait Implementations§
impl Freeze for SHAContext
impl RefUnwindSafe for SHAContext
impl Send for SHAContext
impl Sync for SHAContext
impl Unpin for SHAContext
impl UnwindSafe for SHAContext
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)