pub struct Tally {
tally_command: TallyCommand,
}
Fields§
§tally_command: TallyCommand
Implementations§
source§impl Tally
impl Tally
pub fn new(tally_command: TallyCommand) -> Self
pub fn decrypt_results<P: AsRef<Path>, R: AsRef<Path>, S: Into<String>>( self, vote_plan: P, vote_plan_id: S, shares: R, threshold: u32 ) -> String
pub fn decrypt_results_expect_fail<P: AsRef<Path>, R: AsRef<Path>, S: Into<String>>( self, vote_plan: P, vote_plan_id: S, shares: R, threshold: u32, expected_msg: &str )
pub fn merge_results<P: AsRef<Path>>( self, vote_plans: P ) -> Result<Vec<MergedVotePlan>, Error>
Auto Trait Implementations§
impl !RefUnwindSafe for Tally
impl Send for Tally
impl Sync for Tally
impl Unpin for Tally
impl !UnwindSafe for Tally
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request