Trait OobModule

Source
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§

Source

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

Source

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

Implementors§