#[repr(u32)]pub enum PresentationAccessScope {
Instance = 0,
Topic = 1,
Group = 2,
}Expand description
Presentation-Access-Scope.
Compatibility per §2.2.3.6.6: offered.access_scope >= requested.access_scope
(INSTANCE < TOPIC < GROUP).
Variants§
Instance = 0
Instance-Scope (default).
Topic = 1
Topic-Scope.
Group = 2
Group-Scope (Publisher/Subscriber-weit).
Implementations§
Source§impl PresentationAccessScope
impl PresentationAccessScope
Sourcepub const fn try_from_u32(v: u32) -> Option<PresentationAccessScope>
pub const fn try_from_u32(v: u32) -> Option<PresentationAccessScope>
Strikter Mapper.
Sourcepub const fn from_u32(v: u32) -> PresentationAccessScope
pub const fn from_u32(v: u32) -> PresentationAccessScope
Forward-kompatibler Mapper.
Trait Implementations§
Source§impl Clone for PresentationAccessScope
impl Clone for PresentationAccessScope
Source§fn clone(&self) -> PresentationAccessScope
fn clone(&self) -> PresentationAccessScope
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 PresentationAccessScope
impl Debug for PresentationAccessScope
Source§impl Default for PresentationAccessScope
impl Default for PresentationAccessScope
Source§fn default() -> PresentationAccessScope
fn default() -> PresentationAccessScope
Returns the “default value” for a type. Read more
Source§impl Ord for PresentationAccessScope
impl Ord for PresentationAccessScope
Source§fn cmp(&self, other: &PresentationAccessScope) -> Ordering
fn cmp(&self, other: &PresentationAccessScope) -> 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 PresentationAccessScope
impl PartialEq for PresentationAccessScope
Source§fn eq(&self, other: &PresentationAccessScope) -> bool
fn eq(&self, other: &PresentationAccessScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PresentationAccessScope
impl PartialOrd for PresentationAccessScope
impl Copy for PresentationAccessScope
impl Eq for PresentationAccessScope
impl StructuralPartialEq for PresentationAccessScope
Auto Trait Implementations§
impl Freeze for PresentationAccessScope
impl RefUnwindSafe for PresentationAccessScope
impl Send for PresentationAccessScope
impl Sync for PresentationAccessScope
impl Unpin for PresentationAccessScope
impl UnsafeUnpin for PresentationAccessScope
impl UnwindSafe for PresentationAccessScope
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