pub struct CoreCryptoTransportNotImplementedProvider();Expand description
This provider is mainly used for the initialization of the history client session, the only case where transport doesn’t need to be implemented.
Trait Implementations§
Source§impl Default for CoreCryptoTransportNotImplementedProvider
impl Default for CoreCryptoTransportNotImplementedProvider
Source§fn default() -> CoreCryptoTransportNotImplementedProvider
fn default() -> CoreCryptoTransportNotImplementedProvider
Returns the “default value” for a type. Read more
Source§impl MlsTransport for CoreCryptoTransportNotImplementedProvider
impl MlsTransport for CoreCryptoTransportNotImplementedProvider
Source§fn send_commit_bundle<'life0, 'async_trait>(
&'life0 self,
_commit_bundle: MlsCommitBundle,
) -> Pin<Box<dyn Future<Output = Result<MlsTransportResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_commit_bundle<'life0, 'async_trait>(
&'life0 self,
_commit_bundle: MlsCommitBundle,
) -> Pin<Box<dyn Future<Output = Result<MlsTransportResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a commit bundle to the corresponding endpoint.
Source§fn send_message<'life0, 'async_trait>(
&'life0 self,
_mls_message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<MlsTransportResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send_message<'life0, 'async_trait>(
&'life0 self,
_mls_message: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<MlsTransportResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a message to the corresponding endpoint.
Source§fn prepare_for_transport<'life0, 'life1, 'async_trait>(
&'life0 self,
_secret: &'life1 HistorySecret,
) -> Pin<Box<dyn Future<Output = Result<MlsTransportData>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn prepare_for_transport<'life0, 'life1, 'async_trait>(
&'life0 self,
_secret: &'life1 HistorySecret,
) -> Pin<Box<dyn Future<Output = Result<MlsTransportData>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
This function will be called before a history secret is sent to the mls transport to allow
the application to package it in a suitable transport container (json, protobuf, …). Read more
Auto Trait Implementations§
impl Freeze for CoreCryptoTransportNotImplementedProvider
impl RefUnwindSafe for CoreCryptoTransportNotImplementedProvider
impl Send for CoreCryptoTransportNotImplementedProvider
impl Sync for CoreCryptoTransportNotImplementedProvider
impl Unpin for CoreCryptoTransportNotImplementedProvider
impl UnwindSafe for CoreCryptoTransportNotImplementedProvider
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more