pub enum BlockMessage {
Command(Bytes),
Data(Bytes),
}
Expand description
Request and response sent to Mercurial command server.
Variants§
Command(Bytes)
Command to initiate new request, without argument.
Data(Bytes)
Command argument or data sent to server.
Trait Implementations§
Source§impl Clone for BlockMessage
impl Clone for BlockMessage
Source§fn clone(&self) -> BlockMessage
fn clone(&self) -> BlockMessage
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 BlockMessage
impl Debug for BlockMessage
Source§impl Encoder<BlockMessage> for BlockEncoder
impl Encoder<BlockMessage> for BlockEncoder
Source§impl Encoder<BlockMessage> for ClientCodec
impl Encoder<BlockMessage> for ClientCodec
Source§impl PartialEq for BlockMessage
impl PartialEq for BlockMessage
impl Eq for BlockMessage
impl StructuralPartialEq for BlockMessage
Auto Trait Implementations§
impl !Freeze for BlockMessage
impl RefUnwindSafe for BlockMessage
impl Send for BlockMessage
impl Sync for BlockMessage
impl Unpin for BlockMessage
impl UnwindSafe for BlockMessage
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