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
End
Error
Guarded(Guarded)
Output
Exit
SessionsChanged
SessionChanged
SessionRenamed
Fields
name: String
SessionWindowChanged
ClientSessionChanged
ClientDetached
Fields
client_name: String
PaneModeChanged
Fields
pane: TmuxPaneId
WindowAdd
Fields
window: TmuxWindowId
WindowClose
Fields
window: TmuxWindowId
WindowPaneChanged
WindowRenamed
LayoutChange
Trait Implementations
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more