[][src]Trait coinbase_rs::adapters::Adapter

pub trait Adapter<T> {
    type Result;
    fn process<F>(&self, f: F) -> Self::Result
    where
        F: Future<Item = T, Error = CBError> + Send + 'static
; }

Associated Types

type Result

Loading content...

Required methods

fn process<F>(&self, f: F) -> Self::Result where
    F: Future<Item = T, Error = CBError> + Send + 'static, 

Loading content...

Implementors

impl<T> Adapter<T> for ASync[src]

type Result = Box<dyn Future<Item = T, Error = CBError> + Send>

impl<T> Adapter<T> for Sync where
    T: Send + 'static, 
[src]

type Result = Result<T, CBError>

Loading content...