Struct bitcoin::network::encodable::CheckedData
[−]
[src]
pub struct CheckedData(pub Vec<u8>);
Data which must be preceded by a 4-byte checksum
Trait Implementations
impl Debug for CheckedData
[src]
impl Clone for CheckedData
[src]
fn clone(&self) -> CheckedData
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 CheckedData
[src]
impl PartialEq for CheckedData
[src]
fn eq(&self, __arg_0: &CheckedData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CheckedData) -> bool
This method tests for !=
.
impl<S: SimpleEncoder> ConsensusEncodable<S> for CheckedData
[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 CheckedData
[src]
fn consensus_decode(d: &mut D) -> Result<CheckedData, D::Error>
Decode an object with a well-defined format