pub enum ThresholdAccessCapability {
None,
Readable {
readable: Thresholds,
values: Thresholds,
},
ReadableAndSettable {
readable: Thresholds,
values: Thresholds,
settable: Thresholds,
},
FixedAndUnreadable {
supported: Thresholds,
},
}Variants§
Implementations§
Source§impl ThresholdAccessCapability
impl ThresholdAccessCapability
pub fn readable(&self, kind: ThresholdKind) -> bool
pub fn settable(&self, kind: ThresholdKind) -> bool
Trait Implementations§
Source§impl Clone for ThresholdAccessCapability
impl Clone for ThresholdAccessCapability
Source§fn clone(&self) -> ThresholdAccessCapability
fn clone(&self) -> ThresholdAccessCapability
Returns a duplicate of the value. Read more
1.0.0 · 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 ThresholdAccessCapability
impl Debug for ThresholdAccessCapability
impl Copy for ThresholdAccessCapability
Auto Trait Implementations§
impl Freeze for ThresholdAccessCapability
impl RefUnwindSafe for ThresholdAccessCapability
impl Send for ThresholdAccessCapability
impl Sync for ThresholdAccessCapability
impl Unpin for ThresholdAccessCapability
impl UnwindSafe for ThresholdAccessCapability
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