pub trait OobModule {
// Required methods
fn create_invitation<'life0, 'async_trait>(
&'life0 self,
options: OobConnectionCreateInvitationOptions,
) -> Pin<Box<dyn Future<Output = Result<OobConnectionCreateInvitationResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn receive_invitation<'life0, 'async_trait>(
&'life0 self,
invitation: OobConnectionReceiveInvitationOptions,
) -> Pin<Box<dyn Future<Output = Result<OobConnection>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generic cloudagent oob module
Required Methods§
Sourcefn create_invitation<'life0, 'async_trait>(
&'life0 self,
options: OobConnectionCreateInvitationOptions,
) -> Pin<Box<dyn Future<Output = Result<OobConnectionCreateInvitationResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_invitation<'life0, 'async_trait>(
&'life0 self,
options: OobConnectionCreateInvitationOptions,
) -> Pin<Box<dyn Future<Output = Result<OobConnectionCreateInvitationResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create an oob invitation
Sourcefn receive_invitation<'life0, 'async_trait>(
&'life0 self,
invitation: OobConnectionReceiveInvitationOptions,
) -> Pin<Box<dyn Future<Output = Result<OobConnection>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn receive_invitation<'life0, 'async_trait>(
&'life0 self,
invitation: OobConnectionReceiveInvitationOptions,
) -> Pin<Box<dyn Future<Output = Result<OobConnection>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Receive and accept an oob connection