Skip to main content

Client

Trait Client 

Source
pub trait Client {
    // Required methods
    fn newsroom_verifying_key(&self) -> Option<&VerifyingKey>;
    fn set_newsroom_verifying_key(&mut self, key: VerifyingKey);
}
Expand description

Clients hold a reference to the newsroom VerifyingKey of the instance they are interacting with.

Required Methods§

Source

fn newsroom_verifying_key(&self) -> Option<&VerifyingKey>

Returns the stored newsroom verifying key, if one has been verified.

Source

fn set_newsroom_verifying_key(&mut self, key: VerifyingKey)

Stores a verified newsroom verifying key.

Implementors§