[−][src]Trait lnpbp::lnp::transport::AsyncSendFrame
Async version of SendFrame
trait
Required methods
#[must_use]fn async_send_frame<'life0, 'life1, 'async_trait>(
&'life0 mut self,
frame: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
frame: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Async version of SendFrame::send_frame
; pls refer to it for the
function documentation
#[must_use]fn async_send_raw<'life0, 'life1, 'async_trait>(
&'life0 mut self,
raw_frame: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
raw_frame: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Async version of [RecvFrame::send_raw
]; pls refer to it for the
function documentation
Provided methods
#[must_use]fn async_send_to<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
remote_id: &'life1 [u8],
frame: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self,
remote_id: &'life1 [u8],
frame: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: Send + 'async_trait,
Async version of [RecvFrame::send_to
]; pls refer to it for the
function documentation