Struct avalanche_types::rpcchainvm::context::Context
source · [−]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 avax_asset_id: Id,
pub keystore: KeystoreClient<Channel>,
pub shared_memory: SharedMemoryClient<Channel>,
pub bc_lookup: AliasReaderClient<Channel>,
pub sn_lookup: SubnetLookupClient<Channel>,
}
Expand description
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/snow#Context
Fields
network_id: u32
subnet_id: Id
chain_id: Id
node_id: NodeId
x_chain_id: Id
avax_asset_id: Id
keystore: KeystoreClient<Channel>
bc_lookup: AliasReaderClient<Channel>
sn_lookup: SubnetLookupClient<Channel>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request