Trait ConvexClientExt

Source
pub trait ConvexClientExt {
    // Provided method
    fn prepare_args<T: Into<BTreeMap<String, JsonValue>>>(
        args: T,
    ) -> BTreeMap<String, ConvexValue> { ... }
}
Expand description

Extension trait for ConvexClient to provide a more ergonomic API

Provided Methods§

Source

fn prepare_args<T: Into<BTreeMap<String, JsonValue>>>( args: T, ) -> BTreeMap<String, ConvexValue>

Convert function arguments into Convex-compatible format

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 ConvexClientExt for ConvexClient

Implementors§