Skip to main content

EntityCapabilities

Struct EntityCapabilities 

Source
pub struct EntityCapabilities(pub u32);
Expand description

entity_capabilities (Table 6-2). The standard numbers bits from the most significant, so its bit 31 is 0x0000_0001.

Tuple Fields§

§0: u32

Implementations§

Source§

impl EntityCapabilities

Source

pub const EFU_MODE: EntityCapabilities

Source

pub const ADDRESS_ACCESS_SUPPORTED: EntityCapabilities

Source

pub const GATEWAY_ENTITY: EntityCapabilities

Source

pub const AEM_SUPPORTED: EntityCapabilities

Source

pub const LEGACY_AVC: EntityCapabilities

Source

pub const ASSOCIATION_ID_SUPPORTED: EntityCapabilities

Source

pub const ASSOCIATION_ID_VALID: EntityCapabilities

Source

pub const VENDOR_UNIQUE_SUPPORTED: EntityCapabilities

Source

pub const CLASS_A_SUPPORTED: EntityCapabilities

Source

pub const CLASS_B_SUPPORTED: EntityCapabilities

Source

pub const GPTP_SUPPORTED: EntityCapabilities

Source

pub const AEM_AUTHENTICATION_SUPPORTED: EntityCapabilities

Source

pub const AEM_AUTHENTICATION_REQUIRED: EntityCapabilities

Source

pub const AEM_PERSISTENT_ACQUIRE_SUPPORTED: EntityCapabilities

Source

pub const AEM_IDENTIFY_CONTROL_INDEX_VALID: EntityCapabilities

Source

pub const AEM_INTERFACE_INDEX_VALID: EntityCapabilities

Source

pub const GENERAL_CONTROLLER_IGNORE: EntityCapabilities

Source

pub const ENTITY_NOT_READY: EntityCapabilities

Source

pub const ACMP_ACQUIRE_WITH_AEM: EntityCapabilities

Source

pub const ACMP_AUTHENTICATE_WITH_AEM: EntityCapabilities

Source

pub const SUPPORTS_UDPV4_ATDECC: EntityCapabilities

Source

pub const SUPPORTS_UDPV4_STREAMING: EntityCapabilities

Source

pub const SUPPORTS_UDPV6_ATDECC: EntityCapabilities

Source

pub const SUPPORTS_UDPV6_STREAMING: EntityCapabilities

Source

pub const MULTIPLE_PTP_INSTANCES: EntityCapabilities

Source

pub const AEM_CONFIGURATION_INDEX_VALID: EntityCapabilities

Source

pub const fn empty() -> Self

Source

pub const fn bits(self) -> u32

Source

pub const fn is_empty(self) -> bool

Source

pub const fn contains(self, other: Self) -> bool

Every bit of other is set.

Source

pub const fn union(self, other: Self) -> Self

Source

pub const fn difference(self, other: Self) -> Self

Source

pub fn names(self) -> impl Iterator<Item = &'static str>

The standard’s names of the bits set, in bit order; bits it does not name are left out.

Source

pub fn set(&mut self, other: Self, on: bool)

Trait Implementations§

Source§

impl BitAnd for EntityCapabilities

Source§

type Output = EntityCapabilities

The resulting type after applying the & operator.
Source§

fn bitand(self, other: Self) -> Self

Performs the & operation. Read more
Source§

impl BitOr for EntityCapabilities

Source§

type Output = EntityCapabilities

The resulting type after applying the | operator.
Source§

fn bitor(self, other: Self) -> Self

Performs the | operation. Read more
Source§

impl BitOrAssign for EntityCapabilities

Source§

fn bitor_assign(&mut self, other: Self)

Performs the |= operation. Read more
Source§

impl Clone for EntityCapabilities

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for EntityCapabilities

Source§

impl Debug for EntityCapabilities

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

The named bits, then any others in hex.

Source§

impl Default for EntityCapabilities

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Eq for EntityCapabilities

Source§

impl Hash for EntityCapabilities

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for EntityCapabilities

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for EntityCapabilities

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.