pub enum VoteEncodeDecision {
Reject,
Accept,
}Expand description
Whether unsigned consensus fields fit Kafka’s signed Vote wire fields.
Variants§
Trait Implementations§
Source§impl Clone for VoteEncodeDecision
impl Clone for VoteEncodeDecision
Source§fn clone(&self) -> VoteEncodeDecision
fn clone(&self) -> VoteEncodeDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VoteEncodeDecision
Source§impl Debug for VoteEncodeDecision
impl Debug for VoteEncodeDecision
impl Eq for VoteEncodeDecision
Source§impl PartialEq for VoteEncodeDecision
impl PartialEq for VoteEncodeDecision
impl StructuralPartialEq for VoteEncodeDecision
Auto Trait Implementations§
impl Freeze for VoteEncodeDecision
impl RefUnwindSafe for VoteEncodeDecision
impl Send for VoteEncodeDecision
impl Sync for VoteEncodeDecision
impl Unpin for VoteEncodeDecision
impl UnsafeUnpin for VoteEncodeDecision
impl UnwindSafe for VoteEncodeDecision
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