conmon_common::conmon_capnp::conmon

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> { ... }
}

Provided Methods§

Source

fn version(&mut self, _: VersionParams, _: VersionResults) -> Promise<(), Error>

Source

fn create_container( &mut self, _: CreateContainerParams, _: CreateContainerResults, ) -> Promise<(), Error>

Source

fn exec_sync_container( &mut self, _: ExecSyncContainerParams, _: ExecSyncContainerResults, ) -> Promise<(), Error>

Source

fn attach_container( &mut self, _: AttachContainerParams, _: AttachContainerResults, ) -> Promise<(), Error>

Source

fn reopen_log_container( &mut self, _: ReopenLogContainerParams, _: ReopenLogContainerResults, ) -> Promise<(), Error>

Source

fn set_window_size_container( &mut self, _: SetWindowSizeContainerParams, _: SetWindowSizeContainerResults, ) -> Promise<(), Error>

Source

fn create_namespaces( &mut self, _: CreateNamespacesParams, _: CreateNamespacesResults, ) -> Promise<(), Error>

Source

fn start_fd_socket( &mut self, _: StartFdSocketParams, _: StartFdSocketResults, ) -> Promise<(), Error>

Implementors§