pub struct ServiceBinder<'a, 'b, DB, AUX> where
DB: Clone + 'static,
AUX: Clone, { /* fields omitted */ }
pub fn new(addr: &'b str, db: &'a DB, aux: AUX) -> Self
pub fn bind_with_processor<F: 'static, Msg: RpcMessage, Output: 'static>(
self,
f: F
) -> Self where
F: Fn(DB, AUX, String, Msg) -> Output,
Output: Future<Output = Result<Msg::Item, Msg::Error>>,
Msg::Error: Display,
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,