pub struct ViewCode { /* private fields */ }Trait Implementations§
source§impl ProcessQuery for ViewCode
impl ProcessQuery for ViewCode
source§type Method = RpcQueryRequest
type Method = RpcQueryRequest
Method for doing the internal RPC request to the network of our choosing.
source§fn into_request(self, block_reference: BlockReference) -> Result<Self::Method>
fn into_request(self, block_reference: BlockReference) -> Result<Self::Method>
Convert into the Request object that is required to perform the RPC request.
source§fn from_response(resp: RpcQueryResponse) -> Result<Self::Output>
fn from_response(resp: RpcQueryResponse) -> Result<Self::Output>
Convert the response from the RPC request to a type of our choosing.
Auto Trait Implementations§
impl Freeze for ViewCode
impl RefUnwindSafe for ViewCode
impl Send for ViewCode
impl Sync for ViewCode
impl Unpin for ViewCode
impl UnwindSafe for ViewCode
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> 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