Struct bitcoin::network::message::CommandString [−][src]
pub struct CommandString(_);
Expand description
Serializer for command string
Implementations
Convert from various string types into a CommandString.
Supported types are:
&'static str
String
Returns an empty error if and only if the string is larger than 12 characters in length.
Trait Implementations
Decode an object with a well-defined format
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CommandString
impl Send for CommandString
impl Sync for CommandString
impl Unpin for CommandString
impl UnwindSafe for CommandString
Blanket Implementations
Mutably borrows from an owned value. Read more