#[repr(C)]pub struct aws_hash_vtable {
pub alg_name: *const c_char,
pub provider: *const c_char,
pub destroy: Option<unsafe extern "C" fn(hash: *mut aws_hash)>,
pub update: Option<unsafe extern "C" fn(hash: *mut aws_hash, buf: *const aws_byte_cursor) -> c_int>,
pub finalize: Option<unsafe extern "C" fn(hash: *mut aws_hash, out: *mut aws_byte_buf) -> c_int>,
}
Fields
alg_name: *const c_char
provider: *const c_char
destroy: Option<unsafe extern "C" fn(hash: *mut aws_hash)>
update: Option<unsafe extern "C" fn(hash: *mut aws_hash, buf: *const aws_byte_cursor) -> c_int>
finalize: Option<unsafe extern "C" fn(hash: *mut aws_hash, out: *mut aws_byte_buf) -> c_int>
Trait Implementations
sourceimpl Clone for aws_hash_vtable
impl Clone for aws_hash_vtable
sourcefn clone(&self) -> aws_hash_vtable
fn clone(&self) -> aws_hash_vtable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_hash_vtable
impl Debug for aws_hash_vtable
sourceimpl Default for aws_hash_vtable
impl Default for aws_hash_vtable
sourceimpl PartialEq<aws_hash_vtable> for aws_hash_vtable
impl PartialEq<aws_hash_vtable> for aws_hash_vtable
sourcefn eq(&self, other: &aws_hash_vtable) -> bool
fn eq(&self, other: &aws_hash_vtable) -> bool
impl Copy for aws_hash_vtable
impl Eq for aws_hash_vtable
impl StructuralEq for aws_hash_vtable
impl StructuralPartialEq for aws_hash_vtable
Auto Trait Implementations
impl RefUnwindSafe for aws_hash_vtable
impl !Send for aws_hash_vtable
impl !Sync for aws_hash_vtable
impl Unpin for aws_hash_vtable
impl UnwindSafe for aws_hash_vtable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more