Trait mainnet_tools::snapshot::OutputExtension
source · pub trait OutputExtension {
// Required method
fn try_into_voting_registration(self) -> Result<VotingRegistration, Error>;
}
Expand description
Extensions for voting tools Output
struct
Required Methods§
sourcefn try_into_voting_registration(self) -> Result<VotingRegistration, Error>
fn try_into_voting_registration(self) -> Result<VotingRegistration, Error>
Converts to VotingRegistration
Errors
At any internal error while creating a voting registration from output