Struct silk::entry::Entry [] [src]

pub struct Entry {
    pub num_hashes: u64,
    pub id: Hash,
    pub event: Event,
}

Fields

Methods

impl Entry
[src]

[src]

Creates a Entry from the number of hashes 'num_hashes' since the previous event and that resulting 'id'.

[src]

Verifies self.id is the result of hashing a 'start_hash' 'self.num_hashes' times. If the event is not a Tick, then hash that as well.

Trait Implementations

impl Debug for Entry
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Entry
[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 Entry
[src]

impl Clone for Entry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Entry

impl Sync for Entry