pub enum ChannelMessage {
Data(u8, Bytes),
InputRequest(usize),
LineRequest(usize),
SystemRequest(Bytes),
}
Expand description
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§
Source§impl Clone for ChannelMessage
impl Clone for ChannelMessage
Source§fn clone(&self) -> ChannelMessage
fn clone(&self) -> ChannelMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChannelMessage
impl Debug for ChannelMessage
Source§impl PartialEq for ChannelMessage
impl PartialEq for ChannelMessage
impl Eq for ChannelMessage
impl StructuralPartialEq for ChannelMessage
Auto Trait Implementations§
impl !Freeze for ChannelMessage
impl RefUnwindSafe for ChannelMessage
impl Send for ChannelMessage
impl Sync for ChannelMessage
impl Unpin for ChannelMessage
impl UnwindSafe for ChannelMessage
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