pub struct QueryClient { /* private fields */ }
Implementations§
source§impl QueryClient
impl QueryClient
pub fn get_node_list_internal( &self, query_description: &FABRIC_NODE_QUERY_DESCRIPTION, timeout_milliseconds: u32, cancellation_token: Option<CancellationToken>, ) -> FabricReceiver2<Result<IFabricGetNodeListResult2>> ⓘ
source§impl QueryClient
impl QueryClient
pub fn from_com(com: IFabricQueryClient10) -> Self
pub async fn get_node_list( &self, desc: &NodeQueryDescription, timeout: Duration, cancellation_token: Option<CancellationToken>, ) -> Result<NodeList>
pub async fn get_partition_list( &self, desc: &ServicePartitionQueryDescription, timeout: Duration, cancellation_token: Option<CancellationToken>, ) -> Result<ServicePartitionList>
pub async fn get_replica_list( &self, desc: &ServiceReplicaQueryDescription, timeout: Duration, cancellation_token: Option<CancellationToken>, ) -> Result<ServiceReplicaList>
Trait Implementations§
source§impl Clone for QueryClient
impl Clone for QueryClient
source§fn clone(&self) -> QueryClient
fn clone(&self) -> QueryClient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for QueryClient
impl RefUnwindSafe for QueryClient
impl Send for QueryClient
impl Sync for QueryClient
impl Unpin for QueryClient
impl UnwindSafe for QueryClient
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)