Enum hedera::AnyMirrorQueryResponse
source · pub enum AnyMirrorQueryResponse {
NodeAddressBook(<NodeAddressBookQueryData as MirrorQueryExecute>::Response),
TopicMessage(<TopicMessageQueryData as MirrorQueryExecute>::Response),
}
Expand description
Represents the response of any possible query to the mirror network.
Variants§
NodeAddressBook(<NodeAddressBookQueryData as MirrorQueryExecute>::Response)
Response for AnyMirrorQuery::NodeAddressBook
.
TopicMessage(<TopicMessageQueryData as MirrorQueryExecute>::Response)
Response for AnyMirrorQuery::TopicMessage
.
Trait Implementations§
source§impl From<NodeAddressBook> for AnyMirrorQueryResponse
impl From<NodeAddressBook> for AnyMirrorQueryResponse
source§fn from(value: NodeAddressBook) -> Self
fn from(value: NodeAddressBook) -> Self
Converts to this type from the input type.
source§impl From<Vec<TopicMessage>> for AnyMirrorQueryResponse
impl From<Vec<TopicMessage>> for AnyMirrorQueryResponse
source§fn from(value: Vec<TopicMessage>) -> Self
fn from(value: Vec<TopicMessage>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnyMirrorQueryResponse
impl RefUnwindSafe for AnyMirrorQueryResponse
impl Send for AnyMirrorQueryResponse
impl Sync for AnyMirrorQueryResponse
impl Unpin for AnyMirrorQueryResponse
impl UnwindSafe for AnyMirrorQueryResponse
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> 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