pub trait HasShell: HasBuffer {
    type Shell: Shell<Buffer = <Self as HasBuffer>::Buffer>;

    // Required method
    fn shell(&self) -> &RefCell<Self::Shell>;
}
Expand description

Shell access

Implemented by the server context (see ServerContext) to indicate that it has a shell.

Required Associated Types§

source

type Shell: Shell<Buffer = <Self as HasBuffer>::Buffer>

Type of the shell

Required Methods§

source

fn shell(&self) -> &RefCell<Self::Shell>

Get a reference to the shell

Implementors§