Server

Trait Server 

Source
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> { ... }
    fn serve_exec_container(
        &mut self,
        _: ServeExecContainerParams,
        _: ServeExecContainerResults,
    ) -> Promise<(), Error> { ... }
    fn serve_attach_container(
        &mut self,
        _: ServeAttachContainerParams,
        _: ServeAttachContainerResults,
    ) -> Promise<(), Error> { ... }
    fn serve_port_forward_container(
        &mut self,
        _: ServePortForwardContainerParams,
        _: ServePortForwardContainerResults,
    ) -> Promise<(), Error> { ... }
}

Provided Methods§

Implementors§