Enum jsonrpc_core::Compatibility [] [src]

pub enum Compatibility {
    V1,
    V2,
    Both,
}

IoHandler json-rpc protocol compatibility

Variants

Compatible only with JSON-RPC 1.x

Compatible only with JSON-RPC 2.0

Compatible with both

Trait Implementations

impl Clone for Compatibility
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Compatibility
[src]

impl Default for Compatibility
[src]

Returns the "default value" for a type. Read more