Enum stemjail::cmd::shim::ShimAction [] [src]

pub enum ShimAction {
    Access(AccessRequest),
    List(ListRequest),
}

Variants

Access
List

Methods

impl ShimAction

fn call(self, cmd_tx: Sender<Box<JailFn>>, client: UnixStream) -> Result<(), String>

Trait Implementations

Derived Implementations

impl Encodable for ShimAction

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

impl Decodable for ShimAction

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

impl Debug for ShimAction

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