Trait rustic_jsonrpc::FromArg

source ·
pub trait FromArg<T>: Sized {
    type Error: StdError;

    // Required method
    async fn from_arg(
        container: &Container,
        arg: T
    ) -> Result<Self, Self::Error>;
}

Required Associated Types§

Required Methods§

source

async fn from_arg(container: &Container, arg: T) -> Result<Self, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§