Skip to main content

OpsT

Trait OpsT 

Source
pub trait OpsT:
    Debug
    + Clone
    + Eq
    + Hash
    + BorshSerialize
    + BorshDeserialize
    + Serialize
    + DeserializeOwned
    + Send
    + Sync
    + 'static { }
Expand description

Marker trait bundling the bounds required of an RPC operation (method) id type: it must be hashable and comparable for dispatch, serializable via both Borsh and Serde, and shareable across threads.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> OpsT for T