pub enum Socket {
Default,
Name(OsString),
Path(PathBuf),
}Expand description
The tmux socket identity used by a server handle.
Variants§
Default
Let tmux use its default socket.
Name(OsString)
Select a named socket with -L.
Path(PathBuf)
Select an exact socket path with -S.
Trait Implementations§
impl Eq for Socket
impl StructuralPartialEq for Socket
Auto Trait Implementations§
impl Freeze for Socket
impl RefUnwindSafe for Socket
impl Send for Socket
impl Sync for Socket
impl Unpin for Socket
impl UnsafeUnpin for Socket
impl UnwindSafe for Socket
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