pub struct QueryHandle { /* private fields */ }Expand description
Internal identifier for a Connection currently associated with an endpoint
Implementations§
Source§impl QueryHandle
impl QueryHandle
Sourcepub const fn message_id(&self) -> u16
pub const fn message_id(&self) -> u16
Returns the message id associated with the query handle.
Sourcepub const fn connection_id(&self) -> usize
pub const fn connection_id(&self) -> usize
Returns the connection id associated with the query handle.
Trait Implementations§
Source§impl Clone for QueryHandle
impl Clone for QueryHandle
Source§fn clone(&self) -> QueryHandle
fn clone(&self) -> QueryHandle
Returns a duplicate 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 moreSource§impl Debug for QueryHandle
impl Debug for QueryHandle
Source§impl Hash for QueryHandle
impl Hash for QueryHandle
Source§impl PartialEq for QueryHandle
impl PartialEq for QueryHandle
impl Copy for QueryHandle
impl Eq for QueryHandle
impl StructuralPartialEq for QueryHandle
Auto Trait Implementations§
impl Freeze for QueryHandle
impl RefUnwindSafe for QueryHandle
impl Send for QueryHandle
impl Sync for QueryHandle
impl Unpin for QueryHandle
impl UnwindSafe for QueryHandle
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§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