pub struct Pill {
pub epoch: Epoch,
pub propose_hashes: Vec<Hash>,
}
Fields§
§epoch: Epoch
§propose_hashes: Vec<Hash>
Trait Implementations§
Source§impl FixedCodec for Pill
impl FixedCodec for Pill
fn encode_fixed(&self) -> ProtocolResult<Bytes>
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>
impl Eq for Pill
impl StructuralPartialEq for Pill
Auto Trait Implementations§
impl !Freeze for Pill
impl RefUnwindSafe for Pill
impl Send for Pill
impl Sync for Pill
impl Unpin for Pill
impl UnwindSafe for Pill
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