pub struct SdkWaitKey { /* private fields */ }Expand description
Stable key for one daemon-backed SDK wait.
Implementations§
Source§impl SdkWaitKey
impl SdkWaitKey
Sourcepub const fn new(owner_id: SdkWaitOwnerId, wait_id: SdkWaitId) -> Self
pub const fn new(owner_id: SdkWaitOwnerId, wait_id: SdkWaitId) -> Self
Builds a wait key from its owner and per-owner id.
Sourcepub const fn owner_id(self) -> SdkWaitOwnerId
pub const fn owner_id(self) -> SdkWaitOwnerId
Returns the SDK owner id.
Trait Implementations§
Source§impl Clone for SdkWaitKey
impl Clone for SdkWaitKey
Source§fn clone(&self) -> SdkWaitKey
fn clone(&self) -> SdkWaitKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SdkWaitKey
impl Debug for SdkWaitKey
Source§impl Hash for SdkWaitKey
impl Hash for SdkWaitKey
Source§impl Ord for SdkWaitKey
impl Ord for SdkWaitKey
Source§fn cmp(&self, other: &SdkWaitKey) -> Ordering
fn cmp(&self, other: &SdkWaitKey) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SdkWaitKey
impl PartialEq for SdkWaitKey
Source§fn eq(&self, other: &SdkWaitKey) -> bool
fn eq(&self, other: &SdkWaitKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SdkWaitKey
impl PartialOrd for SdkWaitKey
impl Copy for SdkWaitKey
impl Eq for SdkWaitKey
impl StructuralPartialEq for SdkWaitKey
Auto Trait Implementations§
impl Freeze for SdkWaitKey
impl RefUnwindSafe for SdkWaitKey
impl Send for SdkWaitKey
impl Sync for SdkWaitKey
impl Unpin for SdkWaitKey
impl UnsafeUnpin for SdkWaitKey
impl UnwindSafe for SdkWaitKey
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