1use std::future::Future; 2use crate::error::Result; 3 4pub trait Sendable { 5 type Output; 6 7 fn send(self) -> impl Future<Output=Result<Self::Output>> + Send + 'static; 8}