[][src]Enum tab_api::client::Response

pub enum Response {
    Init(InitResponse),
    Output(TabIdOutputChunk),
    TabUpdate(TabMetadata),
    Retask(TabId),
    TabTerminated(TabId),
    Disconnect,
}

A response, sent from the daemon process to a connected CLI

Variants

An initial 'hello' message with introductory state, including a full list of running tabs.

Output(TabIdOutputChunk)

A raw output chunk, identified by a TabId and an index.

TabUpdate(TabMetadata)

A notification that metadata about a running tab has changed.

Retask(TabId)

A notification that the client is being re-tasks, and will now be serving the user on another tab.

TabTerminated(TabId)

A notification that the active tab has been terminated

Disconnect

A notification that the client should disconnect

Trait Implementations

impl Clone for Response[src]

impl Debug for Response[src]

impl<'de> Deserialize<'de> for Response[src]

impl Eq for Response[src]

impl PartialEq<Response> for Response[src]

impl Serialize for Response[src]

impl StructuralEq for Response[src]

impl StructuralPartialEq for Response[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Task for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.