#[non_exhaustive]pub enum PropertyWriteCapability {
ReadOnly,
Always,
WhenOutOfService,
}Expand description
The write capability implemented by an object’s write_property route.
A conditional capability remains writable for PICS purposes even when the current object state causes a particular request to be denied.
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.
ReadOnly
No network property-write route is implemented.
Always
The property-write route is available without an object-state gate.
WhenOutOfService
The property-write route is available only while Out_Of_Service is true.
Implementations§
Source§impl PropertyWriteCapability
impl PropertyWriteCapability
Sourcepub const fn is_writable(self) -> bool
pub const fn is_writable(self) -> bool
Whether any network property-write route is implemented.
Trait Implementations§
Source§impl Clone for PropertyWriteCapability
impl Clone for PropertyWriteCapability
Source§fn clone(&self) -> PropertyWriteCapability
fn clone(&self) -> PropertyWriteCapability
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 PropertyWriteCapability
Source§impl Debug for PropertyWriteCapability
impl Debug for PropertyWriteCapability
impl Eq for PropertyWriteCapability
Source§impl PartialEq for PropertyWriteCapability
impl PartialEq for PropertyWriteCapability
impl StructuralPartialEq for PropertyWriteCapability
Auto Trait Implementations§
impl Freeze for PropertyWriteCapability
impl RefUnwindSafe for PropertyWriteCapability
impl Send for PropertyWriteCapability
impl Sync for PropertyWriteCapability
impl Unpin for PropertyWriteCapability
impl UnsafeUnpin for PropertyWriteCapability
impl UnwindSafe for PropertyWriteCapability
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