pub trait SessionCwdSource {
// Required methods
fn get_cwd(&self) -> Option<String>;
fn get_session_file(&self) -> Option<String>;
}Expand description
Trait for sources that can provide session CWD info.
Required Methods§
Sourcefn get_session_file(&self) -> Option<String>
fn get_session_file(&self) -> Option<String>
Get the session file path, if any.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".