Enum duniter_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

Certification worked.

This certification already exist.

All available certifications has been used.

Unknown source.

Unknown target.

Self linking is forbidden.

Trait Implementations

impl Debug for NewLinkResult
[src]

[src]

Formats the value using the given formatter.

impl Copy for NewLinkResult
[src]

impl Clone for NewLinkResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for NewLinkResult
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for NewLinkResult
[src]