pub struct StartServer;
Expand description
Start the tmux server, if not already running, without creating any sessions
§Manual
tmux ^0.8:
start-server
(alias: start)
Implementations§
source§impl StartServer
impl StartServer
pub fn new() -> Self
pub fn build<'a>(self) -> TmuxCommand<'a>
Trait Implementations§
source§impl Clone for StartServer
impl Clone for StartServer
source§fn clone(&self) -> StartServer
fn clone(&self) -> StartServer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StartServer
impl Debug for StartServer
source§impl Default for StartServer
impl Default for StartServer
source§fn default() -> StartServer
fn default() -> StartServer
Returns the “default value” for a type. Read more
source§impl<'a> From<StartServer> for TmuxCommand<'a>
impl<'a> From<StartServer> for TmuxCommand<'a>
source§fn from(item: StartServer) -> Self
fn from(item: StartServer) -> Self
Converts to this type from the input type.
source§impl Hash for StartServer
impl Hash for StartServer
source§impl Ord for StartServer
impl Ord for StartServer
source§fn cmp(&self, other: &StartServer) -> Ordering
fn cmp(&self, other: &StartServer) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for StartServer
impl PartialEq for StartServer
source§fn eq(&self, other: &StartServer) -> bool
fn eq(&self, other: &StartServer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StartServer
impl PartialOrd for StartServer
source§fn partial_cmp(&self, other: &StartServer) -> Option<Ordering>
fn partial_cmp(&self, other: &StartServer) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for StartServer
impl StructuralPartialEq for StartServer
Auto Trait Implementations§
impl RefUnwindSafe for StartServer
impl Send for StartServer
impl Sync for StartServer
impl Unpin for StartServer
impl UnwindSafe for StartServer
Blanket Implementations§
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