Trait Adapter
coinbase_pro_rs::adapters
pub trait Adapter<T> { type Result; fn process<F>(f: F) -> Self::Result where F: Future<Item = T, Error = CBError> + 'static; }
type Result
fn process<F>(f: F) -> Self::Result where F: Future<Item = T, Error = CBError> + 'static,
impl<T> Adapter<T> for Sync type Result = Result<T, CBError>;
impl<T> Adapter<T> for ASync type Result = Box<Future<Item = T, Error = CBError>>;