[][src]Trait muta_protocol::traits::Service

pub trait Service {
    fn write_(&mut self, ctx: ServiceContext) -> ProtocolResult<String>;
fn read_(&self, ctx: ServiceContext) -> ProtocolResult<String>; fn hook_before_(&mut self) -> ProtocolResult<()> { ... }
fn hook_after_(&mut self) -> ProtocolResult<()> { ... } }

Required methods

Loading content...

Provided methods

fn hook_before_(&mut self) -> ProtocolResult<()>

fn hook_after_(&mut self) -> ProtocolResult<()>

Loading content...

Implementors

Loading content...