Trait ws_tool::DefaultCode

source ·
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§