pub struct SasBytes { /* private fields */ }
Expand description
Bytes generated from an shared secret that can be used as the short auth string.
Implementations
sourceimpl SasBytes
impl SasBytes
sourcepub fn emoji_indices(&self) -> [u8; 7]
pub fn emoji_indices(&self) -> [u8; 7]
Get the index of 7 emojis that can be presented to users to perform the key verification
The table that maps the index to an emoji can be found in the spec.
Trait Implementations
impl Eq for SasBytes
impl StructuralEq for SasBytes
impl StructuralPartialEq for SasBytes
Auto Trait Implementations
impl RefUnwindSafe for SasBytes
impl Send for SasBytes
impl Sync for SasBytes
impl Unpin for SasBytes
impl UnwindSafe for SasBytes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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