pub struct AsyncItemHandle(/* private fields */);Implementations§
Source§impl AsyncItemHandle
impl AsyncItemHandle
Sourcepub fn as_bits(self) -> u32
pub fn as_bits(self) -> u32
Return the raw bit encoding for this instance.
Warning: the raw bit encoding is opaque and has no
guaranteed correspondence to the entity’s index. It encodes the
entire state of this index value: either a valid index or an
invalid-index sentinel. The value returned by this method should
only be passed to from_bits.
Sourcepub fn from_bits(x: u32) -> Self
pub fn from_bits(x: u32) -> Self
Create a new instance from the raw bit encoding.
Warning: the raw bit encoding is opaque and has no
guaranteed correspondence to the entity’s index. It encodes the
entire state of this index value: either a valid index or an
invalid-index sentinel. The value returned by this method should
only be given bits from as_bits.
Trait Implementations§
Source§impl Clone for AsyncItemHandle
impl Clone for AsyncItemHandle
Source§fn clone(&self) -> AsyncItemHandle
fn clone(&self) -> AsyncItemHandle
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 AsyncItemHandle
impl Debug for AsyncItemHandle
Source§impl Display for AsyncItemHandle
impl Display for AsyncItemHandle
Source§impl EntityRef for AsyncItemHandle
impl EntityRef for AsyncItemHandle
Source§impl From<AsyncItemHandle> for AsyncItemHandle
impl From<AsyncItemHandle> for AsyncItemHandle
Source§fn from(h: AsyncItemHandle) -> AsyncItemHandle
fn from(h: AsyncItemHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for AsyncItemHandle
impl From<AsyncItemHandle> for AsyncItemHandle
Source§fn from(h: AsyncItemHandle) -> AsyncItemHandle
fn from(h: AsyncItemHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for BodyHandle
impl From<AsyncItemHandle> for BodyHandle
Source§fn from(h: AsyncItemHandle) -> BodyHandle
fn from(h: AsyncItemHandle) -> BodyHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for CacheBusyHandle
impl From<AsyncItemHandle> for CacheBusyHandle
Source§fn from(h: AsyncItemHandle) -> CacheBusyHandle
fn from(h: AsyncItemHandle) -> CacheBusyHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for CacheHandle
impl From<AsyncItemHandle> for CacheHandle
Source§fn from(h: AsyncItemHandle) -> CacheHandle
fn from(h: AsyncItemHandle) -> CacheHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for KvStoreDeleteHandle
impl From<AsyncItemHandle> for KvStoreDeleteHandle
Source§fn from(h: AsyncItemHandle) -> KvStoreDeleteHandle
fn from(h: AsyncItemHandle) -> KvStoreDeleteHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for KvStoreInsertHandle
impl From<AsyncItemHandle> for KvStoreInsertHandle
Source§fn from(h: AsyncItemHandle) -> KvStoreInsertHandle
fn from(h: AsyncItemHandle) -> KvStoreInsertHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for KvStoreListHandle
impl From<AsyncItemHandle> for KvStoreListHandle
Source§fn from(h: AsyncItemHandle) -> KvStoreListHandle
fn from(h: AsyncItemHandle) -> KvStoreListHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for KvStoreLookupHandle
impl From<AsyncItemHandle> for KvStoreLookupHandle
Source§fn from(h: AsyncItemHandle) -> KvStoreLookupHandle
fn from(h: AsyncItemHandle) -> KvStoreLookupHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for PendingKvDeleteHandle
impl From<AsyncItemHandle> for PendingKvDeleteHandle
Source§fn from(h: AsyncItemHandle) -> PendingKvDeleteHandle
fn from(h: AsyncItemHandle) -> PendingKvDeleteHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for PendingKvInsertHandle
impl From<AsyncItemHandle> for PendingKvInsertHandle
Source§fn from(h: AsyncItemHandle) -> PendingKvInsertHandle
fn from(h: AsyncItemHandle) -> PendingKvInsertHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for PendingKvListHandle
impl From<AsyncItemHandle> for PendingKvListHandle
Source§fn from(h: AsyncItemHandle) -> PendingKvListHandle
fn from(h: AsyncItemHandle) -> PendingKvListHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for PendingKvLookupHandle
impl From<AsyncItemHandle> for PendingKvLookupHandle
Source§fn from(h: AsyncItemHandle) -> PendingKvLookupHandle
fn from(h: AsyncItemHandle) -> PendingKvLookupHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for PendingRequestHandle
impl From<AsyncItemHandle> for PendingRequestHandle
Source§fn from(h: AsyncItemHandle) -> PendingRequestHandle
fn from(h: AsyncItemHandle) -> PendingRequestHandle
Converts to this type from the input type.
Source§impl From<AsyncItemHandle> for RequestPromiseHandle
impl From<AsyncItemHandle> for RequestPromiseHandle
Source§fn from(h: AsyncItemHandle) -> RequestPromiseHandle
fn from(h: AsyncItemHandle) -> RequestPromiseHandle
Converts to this type from the input type.
Source§impl From<BodyHandle> for AsyncItemHandle
impl From<BodyHandle> for AsyncItemHandle
Source§fn from(h: BodyHandle) -> AsyncItemHandle
fn from(h: BodyHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<CacheBusyHandle> for AsyncItemHandle
impl From<CacheBusyHandle> for AsyncItemHandle
Source§fn from(h: CacheBusyHandle) -> AsyncItemHandle
fn from(h: CacheBusyHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<CacheHandle> for AsyncItemHandle
impl From<CacheHandle> for AsyncItemHandle
Source§fn from(h: CacheHandle) -> AsyncItemHandle
fn from(h: CacheHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<KvStoreDeleteHandle> for AsyncItemHandle
impl From<KvStoreDeleteHandle> for AsyncItemHandle
Source§fn from(h: KvStoreDeleteHandle) -> AsyncItemHandle
fn from(h: KvStoreDeleteHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<KvStoreInsertHandle> for AsyncItemHandle
impl From<KvStoreInsertHandle> for AsyncItemHandle
Source§fn from(h: KvStoreInsertHandle) -> AsyncItemHandle
fn from(h: KvStoreInsertHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<KvStoreListHandle> for AsyncItemHandle
impl From<KvStoreListHandle> for AsyncItemHandle
Source§fn from(h: KvStoreListHandle) -> AsyncItemHandle
fn from(h: KvStoreListHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<KvStoreLookupHandle> for AsyncItemHandle
impl From<KvStoreLookupHandle> for AsyncItemHandle
Source§fn from(h: KvStoreLookupHandle) -> AsyncItemHandle
fn from(h: KvStoreLookupHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<PendingKvDeleteHandle> for AsyncItemHandle
impl From<PendingKvDeleteHandle> for AsyncItemHandle
Source§fn from(h: PendingKvDeleteHandle) -> AsyncItemHandle
fn from(h: PendingKvDeleteHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<PendingKvInsertHandle> for AsyncItemHandle
impl From<PendingKvInsertHandle> for AsyncItemHandle
Source§fn from(h: PendingKvInsertHandle) -> AsyncItemHandle
fn from(h: PendingKvInsertHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<PendingKvListHandle> for AsyncItemHandle
impl From<PendingKvListHandle> for AsyncItemHandle
Source§fn from(h: PendingKvListHandle) -> AsyncItemHandle
fn from(h: PendingKvListHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<PendingKvLookupHandle> for AsyncItemHandle
impl From<PendingKvLookupHandle> for AsyncItemHandle
Source§fn from(h: PendingKvLookupHandle) -> AsyncItemHandle
fn from(h: PendingKvLookupHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<PendingRequestHandle> for AsyncItemHandle
impl From<PendingRequestHandle> for AsyncItemHandle
Source§fn from(h: PendingRequestHandle) -> AsyncItemHandle
fn from(h: PendingRequestHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl From<RequestPromiseHandle> for AsyncItemHandle
impl From<RequestPromiseHandle> for AsyncItemHandle
Source§fn from(h: RequestPromiseHandle) -> AsyncItemHandle
fn from(h: RequestPromiseHandle) -> AsyncItemHandle
Converts to this type from the input type.
Source§impl Hash for AsyncItemHandle
impl Hash for AsyncItemHandle
Source§impl PartialEq for AsyncItemHandle
impl PartialEq for AsyncItemHandle
Source§impl ReservedValue for AsyncItemHandle
impl ReservedValue for AsyncItemHandle
Source§fn reserved_value() -> AsyncItemHandle
fn reserved_value() -> AsyncItemHandle
Create an instance of the reserved value.
Source§fn is_reserved_value(&self) -> bool
fn is_reserved_value(&self) -> bool
Checks whether value is the reserved one.
impl Copy for AsyncItemHandle
impl Eq for AsyncItemHandle
impl StructuralPartialEq for AsyncItemHandle
Auto Trait Implementations§
impl Freeze for AsyncItemHandle
impl RefUnwindSafe for AsyncItemHandle
impl Send for AsyncItemHandle
impl Sync for AsyncItemHandle
impl Unpin for AsyncItemHandle
impl UnwindSafe for AsyncItemHandle
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§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