Struct solana_shadow::SyncOptions
source · [−]pub struct SyncOptions {
pub network: Network,
pub max_lag: Option<usize>,
pub reconnect_every: Option<Duration>,
pub rpc_timeout: Duration,
pub ws_connect_timeout: Duration,
pub commitment: CommitmentLevel,
}
Fields
network: Network
max_lag: Option<usize>
reconnect_every: Option<Duration>
rpc_timeout: Duration
ws_connect_timeout: Duration
commitment: CommitmentLevel
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SyncOptions
impl Send for SyncOptions
impl Sync for SyncOptions
impl Unpin for SyncOptions
impl UnwindSafe for SyncOptions
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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
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