pub struct ProdTerminalFacade {
workspace: Weak<Workspace>,
}Expand description
Production impl: the workspace’s registry.
Fields§
§workspace: Weak<Workspace>Implementations§
Trait Implementations§
Source§impl TerminalFacade for ProdTerminalFacade
impl TerminalFacade for ProdTerminalFacade
fn open<'life0, 'life1, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
request: OpenRequest,
) -> Pin<Box<dyn Future<Output = Result<OpenAnswer, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write<'life0, 'life1, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
id: u16,
text: Option<String>,
keys: Vec<Key>,
) -> Pin<Box<dyn Future<Output = Result<TerminalState, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read<'life0, 'life1, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
id: u16,
since: Option<u64>,
max_lines: usize,
max_bytes: usize,
) -> Pin<Box<dyn Future<Output = Result<ReadAnswer, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn wait<'life0, 'life1, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
id: u16,
until: WaitUntil,
timeout_ms: u64,
) -> Pin<Box<dyn Future<Output = Result<WaitAnswer, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resize<'life0, 'life1, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
id: u16,
cols: u16,
rows: u16,
) -> Pin<Box<dyn Future<Output = Result<(), String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn close<'life0, 'life1, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
id: u16,
) -> Pin<Box<dyn Future<Output = Result<Option<TerminalExit>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn hand_off<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
id: u16,
reason: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<HandOffEnding, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
seat: &'life1 SessionSlot,
command: &'life2 str,
cwd: Option<String>,
timeout_ms: u64,
) -> Pin<Box<dyn Future<Output = Result<RunAnswer, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ProdTerminalFacade
impl !UnwindSafe for ProdTerminalFacade
impl Freeze for ProdTerminalFacade
impl Send for ProdTerminalFacade
impl Sync for ProdTerminalFacade
impl Unpin for ProdTerminalFacade
impl UnsafeUnpin for ProdTerminalFacade
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more