pub struct M4aLink { /* private fields */ }Implementations§
Source§impl M4aLink
impl M4aLink
Sourcepub fn deliver_e2e(
&self,
nick: &str,
public_key: [u8; 32],
vault_key: Zeroizing<[u8; 32]>,
sign: ExternalSign,
to: &str,
text: &str,
) -> Result<(String, String, String), LinkError>
pub fn deliver_e2e( &self, nick: &str, public_key: [u8; 32], vault_key: Zeroizing<[u8; 32]>, sign: ExternalSign, to: &str, text: &str, ) -> Result<(String, String, String), LinkError>
End-to-end encrypted letter (Olm/Megolm, the m4a client engine) from the session nick
to to. Each session has its own root, vault and device: one session never opens another
session’s keys. Returns (m4a nick, room, event).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for M4aLink
impl RefUnwindSafe for M4aLink
impl Send for M4aLink
impl Sync for M4aLink
impl Unpin for M4aLink
impl UnsafeUnpin for M4aLink
impl UnwindSafe for M4aLink
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