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 Debug for Compatibility
[src]

[src]

Formats the value using the given formatter.

impl Clone for Compatibility
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Compatibility
[src]

impl Default for Compatibility
[src]

[src]

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