Enum duniter_rs_wotb::NewLinkResult
[−]
[src]
pub enum NewLinkResult { Ok(usize), AlreadyCertified(usize), AllCertificationsUsed(usize), UnknownSource(), UnknownTarget(), SelfLinkingForbidden(), }
Results of a certification, with the current certification count of the destination as parameter.
Variants
Ok(usize)
Certification worked.
AlreadyCertified(usize)
This certification already exist.
AllCertificationsUsed(usize)
All available certifications has been used.
UnknownSource()
Unknown source.
UnknownTarget()
Unknown target.
SelfLinkingForbidden()
Self linking is forbidden.
Trait Implementations
impl Debug for NewLinkResult
[src]
impl Copy for NewLinkResult
[src]
impl Clone for NewLinkResult
[src]
fn clone(&self) -> NewLinkResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for NewLinkResult
[src]
fn eq(&self, __arg_0: &NewLinkResult) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NewLinkResult) -> bool
[src]
This method tests for !=
.