Trait capnp::capability::Server[][src]

pub trait Server {
    fn dispatch_call(
        &mut self,
        interface_id: u64,
        method_id: u16,
        params: Params<Owned>,
        results: Results<Owned>
    ) -> Promise<(), Error>

Notable traits for Promise<T, E>

impl<T, E> Future for Promise<T, E> type Output = Result<T, E>;
; }

An untyped server.

Required methods

fn dispatch_call(
    &mut self,
    interface_id: u64,
    method_id: u16,
    params: Params<Owned>,
    results: Results<Owned>
) -> Promise<(), Error>

Notable traits for Promise<T, E>

impl<T, E> Future for Promise<T, E> type Output = Result<T, E>;
[src]

Loading content...

Implementors

Loading content...