Trait shadowsocks::manager::protocol::ManagerProtocol [−][src]
pub trait ManagerProtocol: Sized { fn from_bytes(buf: &[u8]) -> Result<Self, Error>; fn to_bytes(&self) -> Result<Vec<u8>, Error>; }
Abstract Manager Protocol