[][src]Struct gitstatusd::SatusDaemon

pub struct SatusDaemon { /* fields omitted */ }

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]

Create a new status demon.

  • bin_path: The path to the gitstatusd 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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.