Trait SetServerOptionsTr

Source
pub trait SetServerOptionsTr<'a> {
    type Setter: SetServerOptionTr;

Show 22 methods // Required methods fn new() -> Self; fn push(&mut self, option: TmuxCommand<'a>); fn push_cmds(&mut self, options: TmuxCommands<'a>); fn build(self) -> TmuxCommands<'a>; // Provided methods fn backspace<S: Into<Cow<'a, str>>>(self, backspace: Option<S>) -> Self where Self: Sized { ... } fn buffer_limit(self, buffer_limit: Option<usize>) -> Self where Self: Sized { ... } fn command_alias<S>(self, command_alias: Option<Vec<S>>) -> Self where Self: Sized, S: Into<Cow<'a, str>> { ... } fn copy_command<S: Into<Cow<'a, str>>>( self, copy_command: Option<S>, ) -> Self where Self: Sized { ... } fn default_terminal<S: Into<Cow<'a, str>>>( self, default_terminal: Option<S>, ) -> Self where Self: Sized { ... } fn escape_time(self, escape_time: Option<usize>) -> Self where Self: Sized { ... } fn editor<S: Into<Cow<'a, str>>>(self, editor: Option<S>) -> Self where Self: Sized { ... } fn exit_empty(self, exit_empty: Option<Switch>) -> Self where Self: Sized { ... } fn exit_unattached(self, exit_unattached: Option<Switch>) -> Self where Self: Sized { ... } fn extended_keys(self, extended_keys: Option<Switch>) -> Self where Self: Sized { ... } fn focus_events(self, focus_events: Option<Switch>) -> Self where Self: Sized { ... } fn history_file<S: Into<Cow<'a, str>>>( self, history_file: Option<S>, ) -> Self where Self: Sized { ... } fn message_limit(self, message_limit: Option<usize>) -> Self where Self: Sized { ... } fn prompt_history_limit(self, prompt_history_limit: Option<usize>) -> Self where Self: Sized { ... } fn set_clipboard(self, set_clipboard: Option<SetClipboard>) -> Self where Self: Sized { ... } fn terminal_features<S, I>(self, terminal_features: Option<I>) -> Self where I: IntoIterator<Item = S>, S: Into<Cow<'a, str>>, Self: Sized { ... } fn terminal_overrides<S>(self, terminal_overrides: Option<Vec<S>>) -> Self where Self: Sized, S: Into<Cow<'a, str>> { ... } fn user_keys<S>(self, user_keys: Option<Vec<S>>) -> Self where S: Into<Cow<'a, str>>, Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Source

fn new() -> Self

Source

fn push(&mut self, option: TmuxCommand<'a>)

Source

fn push_cmds(&mut self, options: TmuxCommands<'a>)

Source

fn build(self) -> TmuxCommands<'a>

Provided Methods§

Source

fn backspace<S: Into<Cow<'a, str>>>(self, backspace: Option<S>) -> Self
where Self: Sized,

§Manual

tmux ^3.1:

backspace key
Source

fn buffer_limit(self, buffer_limit: Option<usize>) -> Self
where Self: Sized,

§Manual

tmux ^1.5:

buffer-limit number
Source

fn command_alias<S>(self, command_alias: Option<Vec<S>>) -> Self
where Self: Sized, S: Into<Cow<'a, str>>,

§Manual

tmux ^2.4:

command-alias[] name=value
Source

fn copy_command<S: Into<Cow<'a, str>>>(self, copy_command: Option<S>) -> Self
where Self: Sized,

§Manual

tmux ^3.2:

copy-command shell-command
Source

fn default_terminal<S: Into<Cow<'a, str>>>( self, default_terminal: Option<S>, ) -> Self
where Self: Sized,

§Manual

tmux ^2.1:

default-terminal terminal
Source

fn escape_time(self, escape_time: Option<usize>) -> Self
where Self: Sized,

§Manual

tmux ^1.2:

escape-time time
Source

fn editor<S: Into<Cow<'a, str>>>(self, editor: Option<S>) -> Self
where Self: Sized,

§Manual

tmux ^3.2:

editor shell-command
Source

fn exit_empty(self, exit_empty: Option<Switch>) -> Self
where Self: Sized,

§Manual

tmux ^2.7:

exit-empty [on | off]
Source

fn exit_unattached(self, exit_unattached: Option<Switch>) -> Self
where Self: Sized,

§Manual

tmux ^1.4:

exit-unattached [on | off]
Source

fn extended_keys(self, extended_keys: Option<Switch>) -> Self
where Self: Sized,

§Manual
extended-keys [on | off]
Source

fn focus_events(self, focus_events: Option<Switch>) -> Self
where Self: Sized,

§Manual

tmux ^1.9:

focus-events [on | off]
Source

fn history_file<S: Into<Cow<'a, str>>>(self, history_file: Option<S>) -> Self
where Self: Sized,

§Manual

tmux ^2.1:

history-file path
Source

fn message_limit(self, message_limit: Option<usize>) -> Self
where Self: Sized,

§Manual

tmux ^2.0:

message-limit number
Source

fn prompt_history_limit(self, prompt_history_limit: Option<usize>) -> Self
where Self: Sized,

§Manual

tmux ^3.3:

prompt-history-limit number
Source

fn set_clipboard(self, set_clipboard: Option<SetClipboard>) -> Self
where Self: Sized,

§Manual

tmux ^1.5:

set-clipboard [on | external | off]
Source

fn terminal_features<S, I>(self, terminal_features: Option<I>) -> Self
where I: IntoIterator<Item = S>, S: Into<Cow<'a, str>>, Self: Sized,

§Manual

tmux ^3.2:

terminal-features[] string
Source

fn terminal_overrides<S>(self, terminal_overrides: Option<Vec<S>>) -> Self
where Self: Sized, S: Into<Cow<'a, str>>,

§Manual

tmux ^2.0:

terminal-overrides[] string
Source

fn user_keys<S>(self, user_keys: Option<Vec<S>>) -> Self
where S: Into<Cow<'a, str>>, Self: Sized,

§Manual

tmux ^3.0:

user-keys[] key

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§