[−][src]Struct gitstatusd::SatusDaemon
The daemon that gets git status
Idealy have one long running Daemon that is long running, so gitstatusd can take advantage of incremental stuff
Implementations
impl SatusDaemon
[src]
pub fn new<C: AsRef<OsStr> + Default, P: AsRef<Path>>(
bin_path: C,
run_dir: P
) -> Result<SatusDaemon>
[src]
bin_path: C,
run_dir: P
) -> Result<SatusDaemon>
Create a new status demon.
bin_path
: The path to thegitstatusd
binary.run_dir
: The directory to run the binary in.
pub fn request(&mut self, r: StatusRequest) -> Result<GitStatus>
[src]
Get the git status
Auto Trait Implementations
impl RefUnwindSafe for SatusDaemon
impl Send for SatusDaemon
impl Sync for SatusDaemon
impl Unpin for SatusDaemon
impl UnwindSafe for SatusDaemon
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,