Enum wasmer_backend_api::global_id::NodeKind
source · #[non_exhaustive]#[repr(u16)]pub enum NodeKind {
Show 30 variants
User = 0,
SocialAuth = 1,
Namespace = 2,
Package = 3,
PackageVersion = 4,
PackageCollaborator = 5,
PackageCollaboratorInvite = 6,
NativeExecutable = 7,
PackageVersionNPMBinding = 8,
PackageVersionPythonBinding = 9,
PackageTransferRequest = 10,
Interface = 11,
InterfaceVersion = 12,
PublicKey = 13,
UserNotification = 14,
ActivityEvent = 15,
NamespaceCollaborator = 16,
NamespaceCollaboratorInvite = 17,
BindingsGenerator = 18,
DeployConfigVersion = 19,
DeployConfigInfo = 20,
DeployApp = 21,
DeployAppVersion = 22,
Waitlist = 23,
WaitlistMember = 24,
CardPaymentMethod = 25,
PaymentIntent = 26,
AppAlias = 27,
Nonce = 28,
TermsOfService = 29,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
User = 0
SocialAuth = 1
Namespace = 2
Package = 3
PackageVersion = 4
PackageCollaborator = 5
PackageCollaboratorInvite = 6
NativeExecutable = 7
PackageVersionNPMBinding = 8
PackageVersionPythonBinding = 9
PackageTransferRequest = 10
Interface = 11
InterfaceVersion = 12
PublicKey = 13
UserNotification = 14
ActivityEvent = 15
NamespaceCollaborator = 16
NamespaceCollaboratorInvite = 17
BindingsGenerator = 18
DeployConfigVersion = 19
DeployConfigInfo = 20
DeployApp = 21
DeployAppVersion = 22
Waitlist = 23
WaitlistMember = 24
CardPaymentMethod = 25
PaymentIntent = 26
AppAlias = 27
Nonce = 28
TermsOfService = 29
Implementations§
Trait Implementations§
source§impl PartialEq for NodeKind
impl PartialEq for NodeKind
impl Copy for NodeKind
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnwindSafe for NodeKind
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.