Enum tokio_hglib::codec::ChannelMessage [−][src]
pub enum ChannelMessage { Data(u8, Bytes), InputRequest(usize), LineRequest(usize), SystemRequest(Bytes), }
Message sent from Mercurial command server.
Variants
Data(u8, Bytes)
Data sent from server to the specified channel.
InputRequest(usize)
Server requesting data up to the specified size in bytes.
LineRequest(usize)
Server requesting a single-line input up to the specified size in bytes.
SystemRequest(Bytes)
Server requesting a shell command execution at client side. (cHg extension)
Trait Implementations
impl Clone for ChannelMessage
[src]
impl Clone for ChannelMessage
fn clone(&self) -> ChannelMessage
[src]
fn clone(&self) -> ChannelMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ChannelMessage
[src]
impl Debug for ChannelMessage
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 Eq for ChannelMessage
[src]
impl Eq for ChannelMessage
impl PartialEq for ChannelMessage
[src]
impl PartialEq for ChannelMessage
fn eq(&self, other: &ChannelMessage) -> bool
[src]
fn eq(&self, other: &ChannelMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ChannelMessage) -> bool
[src]
fn ne(&self, other: &ChannelMessage) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ChannelMessage
impl Send for ChannelMessage
impl Sync for ChannelMessage
impl Sync for ChannelMessage