[−][src]Trait noise_protocol::U8Array
A trait for fixed size u8 array.
Required methods
fn new() -> Self
Create a new array filled with all zeros.
fn new_with(_: u8) -> Self
Create a new array filled with a same value.
fn from_slice(_: &[u8]) -> Self
fn len() -> usize
Length of the array.
fn as_slice(&self) -> &[u8]
As slice.
fn as_mut(&mut self) -> &mut [u8]
As mutable slice.
Provided methods
fn clone(&self) -> Self
Clone.