pub struct SasBytes { /* private fields */ }
Expand description
Bytes generated from an shared secret that can be used as the short auth string.
Implementations§
Source§impl 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 StructuralPartialEq for SasBytes
Auto Trait Implementations§
impl Freeze for SasBytes
impl RefUnwindSafe for SasBytes
impl Send for SasBytes
impl Sync for SasBytes
impl Unpin for SasBytes
impl UnwindSafe for SasBytes
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