Enum cid::Version
[−]
[src]
pub enum Version { V0, V1, }
Variants
V0
V1
Methods
impl Version
[src]
fn from(raw: u64) -> Result<Version>
fn is_v0_str(data: &str) -> bool
fn is_v0_binary(data: &[u8]) -> bool
Trait Implementations
impl PartialEq for Version
[src]
fn eq(&self, __arg_0: &Version) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Version
[src]
impl Clone for Version
[src]
fn clone(&self) -> Version
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