Struct solana_core::poh_recorder::Record [−][src]
pub struct Record {
pub mixin: Hash,
pub transactions: Vec<Transaction>,
pub slot: Slot,
pub sender: CrossbeamSender<Result<(), PohRecorderError>>,
}
Fields
mixin: Hash
transactions: Vec<Transaction>
slot: Slot
sender: CrossbeamSender<Result<(), PohRecorderError>>
Implementations
pub fn new(
mixin: Hash,
transactions: Vec<Transaction>,
slot: Slot,
sender: CrossbeamSender<Result<(), PohRecorderError>>
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for Record
impl UnwindSafe for Record
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more