#[non_exhaustive]pub enum ComputerUsePermission {
Granted,
Missing,
Unknown,
Unrecognized(String),
}Expand description
One macOS permission as setup last saw it. Open, like the phase.
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.
Granted
Setup is ready and didn’t name it missing.
Missing
Setup named it missing.
Unknown
Setup can’t say.
Unrecognized(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for ComputerUsePermission
impl Clone for ComputerUsePermission
Source§impl Debug for ComputerUsePermission
impl Debug for ComputerUsePermission
Source§impl<'de> Deserialize<'de> for ComputerUsePermission
impl<'de> Deserialize<'de> for ComputerUsePermission
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ComputerUsePermission
Source§impl PartialEq for ComputerUsePermission
impl PartialEq for ComputerUsePermission
Source§impl Serialize for ComputerUsePermission
impl Serialize for ComputerUsePermission
impl StructuralPartialEq for ComputerUsePermission
Auto Trait Implementations§
impl Freeze for ComputerUsePermission
impl RefUnwindSafe for ComputerUsePermission
impl Send for ComputerUsePermission
impl Sync for ComputerUsePermission
impl Unpin for ComputerUsePermission
impl UnsafeUnpin for ComputerUsePermission
impl UnwindSafe for ComputerUsePermission
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