Struct bitcoin::network::message::CommandString [] [src]

pub struct CommandString(pub String);

Serializer for command string

Trait Implementations

impl Debug for CommandString
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for CommandString
[src]

fn clone(&self) -> CommandString

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for CommandString
[src]

impl PartialEq for CommandString
[src]

fn eq(&self, __arg_0: &CommandString) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &CommandString) -> bool

This method tests for !=.

impl<S: SimpleEncoder> ConsensusEncodable<S> for CommandString
[src]

fn consensus_encode(&self, s: &mut S) -> Result<(), S::Error>

Encode an object with a well-defined format

impl<D: SimpleDecoder> ConsensusDecodable<D> for CommandString
[src]

fn consensus_decode(d: &mut D) -> Result<CommandString, D::Error>

Decode an object with a well-defined format