Trait MethodResult

Source
pub trait MethodResult: Sealed {
    const ASSERT: () = ();
}
Expand description

Trait representing the result of an RPC method.

Provided Associated Constants§

Source

const ASSERT: () = ()

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T, E> MethodResult for Result<T, E>
where T: Serialize, E: Into<BoxError>,

Implementors§