Enum stemjail::cmd::PortalCall [] [src]

pub enum PortalCall {
    Run(RunAction),
    Info(InfoAction),
}

Variants

Run
Info

Methods

impl PortalCall

fn decode<T>(encoded: T) -> DecodingResult<PortalCall> where T: AsRef<[u8]>

fn encode(&self) -> EncodingResult<Vec<u8>>

Trait Implementations

Derived Implementations

impl Encodable for PortalCall

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for PortalCall

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<PortalCall, __D::Error>

impl Debug for PortalCall

fn fmt(&self, __arg_0: &mut Formatter) -> Result