[−][src]Trait lnpbp::lnp::transport::AsyncRecvFrame
Async version of RecvFrame
trait
Required methods
#[must_use]fn async_recv_frame<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Async version of RecvFrame::recv_frame
; pls refer to it for the
function documentation
#[must_use]fn async_recv_raw<'life0, 'async_trait>(
&'life0 mut self,
len: usize
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 mut self,
len: usize
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Async version of RecvFrame::recv_raw
; pls refer to it for the
function documentation
Provided methods
#[must_use]fn async_recv_from<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, Vec<u8>), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<(Vec<u8>, Vec<u8>), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: Send + 'async_trait,
Async version of [RecvFrame::recv_from
]; pls refer to it for the
function documentation