pub trait DefaultCode {
    fn code(&self) -> OpCode;
}
Expand description

a trait that tells ws-tool corresponding opcode of custom type

Required methods

get payload opcode

Implementations on Foreign Types

Implementors