Enum wolf_crypto::buf::Buf
source · pub enum Buf {
B128([u8; 128]),
B256([u8; 256]),
B384([u8; 384]),
B512([u8; 512]),
}Variants§
Implementations§
source§impl Buf
impl Buf
sourcepub const fn is_sensitive(&self) -> bool
pub const fn is_sensitive(&self) -> bool
Returns false
sourcepub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
pub fn as_mut_slice(&mut self) -> &mut [u8] ⓘ
Returns a mutable reference to the buffer as a slice.
Trait Implementations§
source§impl ByteArray for Buf
impl ByteArray for Buf
impl Copy for Buf
impl Eq for Buf
impl StructuralPartialEq for Buf
Auto Trait Implementations§
impl Freeze for Buf
impl RefUnwindSafe for Buf
impl Send for Buf
impl Sync for Buf
impl Unpin for Buf
impl UnwindSafe for Buf
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§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)