Enum ProviderStreamMode
pub enum ProviderStreamMode {
Generic,
YellowstoneGrpc,
LaserStream,
}Expand description
Identifies the processed provider family driving SOF’s direct plugin ingress.
Variants§
Generic
Generic custom provider-stream ingress supplied by the embedding application.
This mode is for producers that push typed ProviderStreamUpdate items
directly into SOF. A custom adapter converts upstream provider data into
SOF’s transaction, control-plane, or health updates.
Use it when:
- you have a processed provider that is not one of the built-in adapters
- you need richer control-plane signals than the built-in processed providers expose
- you want a bounded replay/batch producer to feed SOF directly
The runtime dispatch contract is:
Transaction/SerializedTransaction-> transaction-family hooksTransactionLog->on_transaction_logTransactionViewBatch->on_transaction_view_batchRecentBlockhash->on_recent_blockhashSlotStatus->on_slot_statusClusterTopology->on_cluster_topologyLeaderSchedule->on_leader_scheduleReorg->on_reorgHealth-> runtime health/readiness only
YellowstoneGrpc
Yellowstone gRPC / Geyser-style processed transaction feeds.
Built-in adapter hook surface today: on_transaction.
LaserStream
LaserStream-style processed transaction feeds.
Built-in adapter hook surface today: on_transaction.
Implementations§
§impl ProviderStreamMode
impl ProviderStreamMode
Trait Implementations§
§impl Clone for ProviderStreamMode
impl Clone for ProviderStreamMode
§fn clone(&self) -> ProviderStreamMode
fn clone(&self) -> ProviderStreamMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ProviderStreamMode
impl Debug for ProviderStreamMode
§impl PartialEq for ProviderStreamMode
impl PartialEq for ProviderStreamMode
impl Copy for ProviderStreamMode
impl Eq for ProviderStreamMode
impl StructuralPartialEq for ProviderStreamMode
Auto Trait Implementations§
impl Freeze for ProviderStreamMode
impl RefUnwindSafe for ProviderStreamMode
impl Send for ProviderStreamMode
impl Sync for ProviderStreamMode
impl Unpin for ProviderStreamMode
impl UnsafeUnpin for ProviderStreamMode
impl UnwindSafe for ProviderStreamMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more