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§
source§impl PartialEq for SasBytes
impl PartialEq for SasBytes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)