Enum duniter_wotb::data::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 Debug for NewLinkResult
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for NewLinkResult
[src]
impl Copy for NewLinkResult
impl Clone for NewLinkResult
[src]
impl Clone for NewLinkResult
fn clone(&self) -> NewLinkResult
[src]
fn clone(&self) -> NewLinkResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for NewLinkResult
[src]
impl PartialEq for NewLinkResult
fn eq(&self, other: &NewLinkResult) -> bool
[src]
fn eq(&self, other: &NewLinkResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NewLinkResult) -> bool
[src]
fn ne(&self, other: &NewLinkResult) -> bool
This method tests for !=
.
impl Eq for NewLinkResult
[src]
impl Eq for NewLinkResult
Auto Trait Implementations
impl Send for NewLinkResult
impl Send for NewLinkResult
impl Sync for NewLinkResult
impl Sync for NewLinkResult