/// attempt to add a new proposal in the proposal collection
///
attempt to add a new proposal in the proposal collection
attempt to add a new proposal in the proposal collection
pub fn push(&mut self, proposal: Proposal) -> PushProposal {
        if self.full() {
            PushProposal::Full { proposal }
        } else {
            self.proposals.push(proposal);
            PushProposal::Success
        }
    }
pub fn push ( & mut self , proposal : Proposal ) -> PushProposal { if self . full ( ) { PushProposal :: Full { proposal } } else { self . proposals . push ( proposal ) ; PushProposal :: Success } }
attempt to add a new proposal in the proposal collection
attempt to add a new proposal in the proposal collection
&mut self
proposal
Proposal