pub trait Server {
fn basic(&mut self, _: BasicParams, _: BasicResults) -> Promise<(), Error> { ... }
fn auth(&mut self, _: AuthParams, _: AuthResults) -> Promise<(), Error> { ... }
fn version(
&mut self,
_: VersionParams,
_: VersionResults
) -> Promise<(), Error> { ... }
fn key(&mut self, _: KeyParams, _: KeyResults) -> Promise<(), Error> { ... }
fn alive(&mut self, _: AliveParams, _: AliveResults) -> Promise<(), Error> { ... }
fn id(&mut self, _: IdParams, _: IdResults) -> Promise<(), Error> { ... }
}
Loading content...
Loading content...