Struct tokio_hglib::Client [−][src]
pub struct Client<C> where
C: Connection, { /* fields omitted */ }
Command-server client holding active connection.
Methods
impl<C> Client<C> where
C: Connection,
[src]
impl<C> Client<C> where
C: Connection,
pub fn from_parts(rx: C::Rx, tx: C::Tx, aux: ClientAux<C>) -> Self
[src]
pub fn from_parts(rx: C::Rx, tx: C::Tx, aux: ClientAux<C>) -> Self
pub fn into_parts(self) -> (C::Rx, C::Tx, ClientAux<C>)
[src]
pub fn into_parts(self) -> (C::Rx, C::Tx, ClientAux<C>)
pub fn server_spec(&self) -> &ServerSpec
[src]
pub fn server_spec(&self) -> &ServerSpec
Server capabilities, encoding, etc.
pub fn run_command<I, P, H>(self, handler: H, args: I) -> RunCommand<C, H> where
I: IntoIterator<Item = P>,
P: AsRef<[u8]>,
H: UiHandler,
[src]
pub fn run_command<I, P, H>(self, handler: H, args: I) -> RunCommand<C, H> where
I: IntoIterator<Item = P>,
P: AsRef<[u8]>,
H: UiHandler,
pub fn run_command_os<I, P, H>(self, handler: H, args: I) -> RunCommand<C, H> where
I: IntoIterator<Item = P>,
P: AsRef<OsStr>,
H: UiHandler,
[src]
pub fn run_command_os<I, P, H>(self, handler: H, args: I) -> RunCommand<C, H> where
I: IntoIterator<Item = P>,
P: AsRef<OsStr>,
H: UiHandler,
Runs the Mercurial command specified in platform string.
Trait Implementations
impl<C: Debug> Debug for Client<C> where
C: Connection,
[src]
impl<C: Debug> Debug for Client<C> where
C: Connection,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<C> AsRawFd for Client<C> where
C: Connection + AsRawFd,
[src]
impl<C> AsRawFd for Client<C> where
C: Connection + AsRawFd,