#[non_exhaustive]#[repr(u32)]pub enum AccessProperty {
Normal = 0,
Streaming = 1,
Persisting = 2,
}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.
Trait Implementations§
Source§impl Clone for AccessProperty
impl Clone for AccessProperty
Source§fn clone(&self) -> AccessProperty
fn clone(&self) -> AccessProperty
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 moreimpl Copy for AccessProperty
Source§impl Debug for AccessProperty
impl Debug for AccessProperty
Source§impl Display for AccessProperty
impl Display for AccessProperty
impl Eq for AccessProperty
Source§impl From<AccessProperty> for u32
impl From<AccessProperty> for u32
Source§fn from(enum_value: AccessProperty) -> Self
fn from(enum_value: AccessProperty) -> Self
Converts to this type from the input type.
Source§impl From<AccessProperty> for CUaccessProperty
impl From<AccessProperty> for CUaccessProperty
Source§fn from(value: AccessProperty) -> Self
fn from(value: AccessProperty) -> Self
Converts to this type from the input type.
Source§impl From<CUaccessProperty_enum> for AccessProperty
impl From<CUaccessProperty_enum> for AccessProperty
Source§fn from(value: CUaccessProperty) -> Self
fn from(value: CUaccessProperty) -> Self
Converts to this type from the input type.
Source§impl Hash for AccessProperty
impl Hash for AccessProperty
Source§impl PartialEq for AccessProperty
impl PartialEq for AccessProperty
Source§fn eq(&self, other: &AccessProperty) -> bool
fn eq(&self, other: &AccessProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccessProperty
Source§impl TryFrom<u32> for AccessProperty
impl TryFrom<u32> for AccessProperty
Source§type Error = TryFromPrimitiveError<AccessProperty>
type Error = TryFromPrimitiveError<AccessProperty>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AccessProperty
impl TryFromPrimitive for AccessProperty
const NAME: &'static str = "AccessProperty"
type Primitive = u32
type Error = TryFromPrimitiveError<AccessProperty>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for AccessProperty
impl RefUnwindSafe for AccessProperty
impl Send for AccessProperty
impl Sync for AccessProperty
impl Unpin for AccessProperty
impl UnsafeUnpin for AccessProperty
impl UnwindSafe for AccessProperty
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