pub struct Server { /* private fields */ }
Expand description
The main server structure.
Implementations§
Trait Implementations§
Source§impl Server for Server
impl Server for Server
Source§fn version(
&mut self,
params: VersionParams,
results: VersionResults,
) -> Promise<(), Error>
fn version( &mut self, params: VersionParams, results: VersionResults, ) -> Promise<(), Error>
Retrieve version information from the server.
Source§fn create_container(
&mut self,
params: CreateContainerParams,
results: CreateContainerResults,
) -> Promise<(), Error>
fn create_container( &mut self, params: CreateContainerParams, results: CreateContainerResults, ) -> Promise<(), Error>
Create a new container for the provided parameters.
Source§fn exec_sync_container(
&mut self,
params: ExecSyncContainerParams,
results: ExecSyncContainerResults,
) -> Promise<(), Error>
fn exec_sync_container( &mut self, params: ExecSyncContainerParams, results: ExecSyncContainerResults, ) -> Promise<(), Error>
Execute a command in sync inside of a container.
Source§fn attach_container(
&mut self,
params: AttachContainerParams,
_: AttachContainerResults,
) -> Promise<(), Error>
fn attach_container( &mut self, params: AttachContainerParams, _: AttachContainerResults, ) -> Promise<(), Error>
Attach to a running container.
Source§fn reopen_log_container(
&mut self,
params: ReopenLogContainerParams,
_: ReopenLogContainerResults,
) -> Promise<(), Error>
fn reopen_log_container( &mut self, params: ReopenLogContainerParams, _: ReopenLogContainerResults, ) -> Promise<(), Error>
Rotate all log drivers for a running container.
Source§fn set_window_size_container(
&mut self,
params: SetWindowSizeContainerParams,
_: SetWindowSizeContainerResults,
) -> Promise<(), Error>
fn set_window_size_container( &mut self, params: SetWindowSizeContainerParams, _: SetWindowSizeContainerResults, ) -> Promise<(), Error>
Adjust the window size of a container running inside of a terminal.
Source§fn create_namespaces(
&mut self,
params: CreateNamespacesParams,
results: CreateNamespacesResults,
) -> Promise<(), Error>
fn create_namespaces( &mut self, params: CreateNamespacesParams, results: CreateNamespacesResults, ) -> Promise<(), Error>
Create a new set of namespaces.
fn start_fd_socket( &mut self, params: StartFdSocketParams, results: StartFdSocketResults, ) -> Promise<(), Error>
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request