pub struct NativeProposalTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ProposalTransport for NativeProposalTransport
impl ProposalTransport for NativeProposalTransport
fn fetch<'life0, 'life1, 'async_trait>(
&'life0 self,
raw: &'life1 str,
maximum: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ProposalError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn extract<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 Value,
) -> Pin<Box<dyn Future<Output = Result<Option<String>, ProposalError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for NativeProposalTransport
impl !UnwindSafe for NativeProposalTransport
impl Forget for NativeProposalTransport
impl Freeze for NativeProposalTransport
impl Send for NativeProposalTransport
impl Sync for NativeProposalTransport
impl Unpin for NativeProposalTransport
impl UnsafeUnpin for NativeProposalTransport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more