pub enum Event {
Show 18 variants Begin { timestamp: i64, number: u64, flags: i64, }, End { timestamp: i64, number: u64, flags: i64, }, Error { timestamp: i64, number: u64, flags: i64, }, Guarded(Guarded), Output { pane: TmuxPaneId, text: String, }, Exit { reason: Option<String>, }, SessionsChanged, SessionChanged { session: TmuxSessionId, name: String, }, SessionRenamed { name: String, }, SessionWindowChanged { session: TmuxSessionId, window: TmuxWindowId, }, ClientSessionChanged { client_name: String, session: TmuxSessionId, session_name: String, }, ClientDetached { client_name: String, }, PaneModeChanged { pane: TmuxPaneId, }, WindowAdd { window: TmuxWindowId, }, WindowClose { window: TmuxWindowId, }, WindowPaneChanged { window: TmuxWindowId, pane: TmuxPaneId, }, WindowRenamed { window: TmuxWindowId, name: String, }, LayoutChange { window: TmuxWindowId, layout: WindowLayout, visible_layout: Option<WindowLayout>, raw_flags: Option<String>, },
}

Variants

Begin

Fields

timestamp: i64
number: u64
flags: i64

End

Fields

timestamp: i64
number: u64
flags: i64

Error

Fields

timestamp: i64
number: u64
flags: i64

Guarded(Guarded)

Output

Fields

pane: TmuxPaneId
text: String

Exit

Fields

reason: Option<String>

SessionsChanged

SessionChanged

Fields

session: TmuxSessionId
name: String

SessionRenamed

Fields

name: String

SessionWindowChanged

Fields

session: TmuxSessionId
window: TmuxWindowId

ClientSessionChanged

Fields

client_name: String
session: TmuxSessionId
session_name: String

ClientDetached

Fields

client_name: String

PaneModeChanged

Fields

pane: TmuxPaneId

WindowAdd

Fields

window: TmuxWindowId

WindowClose

Fields

window: TmuxWindowId

WindowPaneChanged

Fields

window: TmuxWindowId
pane: TmuxPaneId

WindowRenamed

Fields

window: TmuxWindowId
name: String

LayoutChange

Fields

window: TmuxWindowId
layout: WindowLayout
visible_layout: Option<WindowLayout>
raw_flags: Option<String>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.