pub enum RemoteTabTitleFormat {
UserAtHost,
Host,
HostAndCwd,
}Expand description
Controls the tab title format when shell integration detects a remote host
Variants§
UserAtHost
“user@host” — SSH-style identifier (default)
Host
“host” — remote hostname only
HostAndCwd
“host:~/cwd” — hostname plus abbreviated CWD
Implementations§
Source§impl RemoteTabTitleFormat
impl RemoteTabTitleFormat
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Display name for UI combo box
Sourcepub fn all() -> &'static [RemoteTabTitleFormat]
pub fn all() -> &'static [RemoteTabTitleFormat]
All variants for UI iteration
Trait Implementations§
Source§impl Clone for RemoteTabTitleFormat
impl Clone for RemoteTabTitleFormat
impl Copy for RemoteTabTitleFormat
Source§impl Debug for RemoteTabTitleFormat
impl Debug for RemoteTabTitleFormat
Source§impl Default for RemoteTabTitleFormat
impl Default for RemoteTabTitleFormat
Source§impl<'de> Deserialize<'de> for RemoteTabTitleFormat
impl<'de> Deserialize<'de> for RemoteTabTitleFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RemoteTabTitleFormat
Source§impl PartialEq for RemoteTabTitleFormat
impl PartialEq for RemoteTabTitleFormat
Source§impl Serialize for RemoteTabTitleFormat
impl Serialize for RemoteTabTitleFormat
impl StructuralPartialEq for RemoteTabTitleFormat
Auto Trait Implementations§
impl Forget for RemoteTabTitleFormat
impl Freeze for RemoteTabTitleFormat
impl Move for RemoteTabTitleFormat
impl RefUnwindSafe for RemoteTabTitleFormat
impl Send for RemoteTabTitleFormat
impl Sync for RemoteTabTitleFormat
impl Unpin for RemoteTabTitleFormat
impl UnsafeUnpin for RemoteTabTitleFormat
impl UnwindSafe for RemoteTabTitleFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.