pub struct Live {
pub versions_dir: String,
}Expand description
The live implementation of everything plan needs.
Fields§
§versions_dir: StringTrait Implementations§
Source§impl Env for Live
impl Env for Live
fn capture(&self, pane: &str) -> String
fn hook_state(&self, pane: &str, pid: i32) -> Option<String>
fn version_of_pid(&self, pid: i32) -> Option<String>
fn cwd_of(&self, pid: i32) -> Option<String>
fn argv_of(&self, pid: i32) -> Vec<String>
fn resolve( &self, pane: &str, cwd: &str, title: &str, pid: i32, ) -> Result<String, String>
fn read_transcript(&self, path: &str) -> Option<String>
fn now(&self) -> i64
Auto Trait Implementations§
impl Freeze for Live
impl RefUnwindSafe for Live
impl Send for Live
impl Sync for Live
impl Unpin for Live
impl UnsafeUnpin for Live
impl UnwindSafe for Live
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more