pub trait UdsTransportExtension: HasContext {
// Provided method
fn create_uds_transport<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<UdsTransport>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
This trait adds a create_uds_transport
method to any struct returning a Context.
This is the case for an ockam::Node, so you can write node.create_uds_transport()
Provided Methods§
sourcefn create_uds_transport<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<UdsTransport>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn create_uds_transport<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<UdsTransport>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Create a UDS transport