pub struct Context {
pub network_id: u32,
pub subnet_id: Id,
pub chain_id: Id,
pub node_id: NodeId,
pub x_chain_id: Id,
pub c_chain_id: Id,
pub avax_asset_id: Id,
pub keystore: KeystoreClient<Channel>,
pub shared_memory: SharedMemoryClient<Channel>,
pub bc_lookup: AliasReaderClient<Channel>,
pub chain_data_dir: String,
}
Expand description
Fields§
§network_id: u32
§subnet_id: Id
§chain_id: Id
§node_id: NodeId
§x_chain_id: Id
§c_chain_id: Id
§avax_asset_id: Id
§keystore: KeystoreClient<Channel>
§bc_lookup: AliasReaderClient<Channel>
§chain_data_dir: String
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
Blanket Implementations§
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request