pub trait Server {
// Provided methods
fn version(
&mut self,
_: VersionParams,
_: VersionResults,
) -> Promise<(), Error> { ... }
fn create_container(
&mut self,
_: CreateContainerParams,
_: CreateContainerResults,
) -> Promise<(), Error> { ... }
fn exec_sync_container(
&mut self,
_: ExecSyncContainerParams,
_: ExecSyncContainerResults,
) -> Promise<(), Error> { ... }
fn attach_container(
&mut self,
_: AttachContainerParams,
_: AttachContainerResults,
) -> Promise<(), Error> { ... }
fn reopen_log_container(
&mut self,
_: ReopenLogContainerParams,
_: ReopenLogContainerResults,
) -> Promise<(), Error> { ... }
fn set_window_size_container(
&mut self,
_: SetWindowSizeContainerParams,
_: SetWindowSizeContainerResults,
) -> Promise<(), Error> { ... }
fn create_namespaces(
&mut self,
_: CreateNamespacesParams,
_: CreateNamespacesResults,
) -> Promise<(), Error> { ... }
fn start_fd_socket(
&mut self,
_: StartFdSocketParams,
_: StartFdSocketResults,
) -> Promise<(), Error> { ... }
}