Trait corda_rpc::Rpc[][src]

pub trait Rpc<'r> {
    type Arguments: Serialize;
    type OkResult: 'r;
    type Error: From<()> + 'r;
    fn method(&self) -> &'static str;
fn request(&self) -> Envelope<'_, Self::Arguments>;
fn response(
        &self,
        response: &'r BytesFrame
    ) -> Result<Self::OkResult, Self::Error>; }

Associated Types

Required methods

Implementors