pub enum SCPickerConfigurationError {
Unavailable,
MainThreadRequired,
}Expand description
Error returned by SCContentSharingPicker operations.
Variants§
The picker API is unavailable on this system.
MainThreadRequired
Picker configuration properties must be assigned on the process main thread.
Trait Implementations§
Source§impl Clone for SCPickerConfigurationError
impl Clone for SCPickerConfigurationError
Source§fn clone(&self) -> SCPickerConfigurationError
fn clone(&self) -> SCPickerConfigurationError
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 SCPickerConfigurationError
Source§impl Debug for SCPickerConfigurationError
impl Debug for SCPickerConfigurationError
Source§impl Display for SCPickerConfigurationError
impl Display for SCPickerConfigurationError
impl Eq for SCPickerConfigurationError
Source§impl Error for SCPickerConfigurationError
impl Error for SCPickerConfigurationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SCPickerConfigurationError
impl PartialEq for SCPickerConfigurationError
Source§fn eq(&self, other: &SCPickerConfigurationError) -> bool
fn eq(&self, other: &SCPickerConfigurationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SCPickerConfigurationError
Auto Trait Implementations§
impl Freeze for SCPickerConfigurationError
impl RefUnwindSafe for SCPickerConfigurationError
impl Send for SCPickerConfigurationError
impl Sync for SCPickerConfigurationError
impl Unpin for SCPickerConfigurationError
impl UnsafeUnpin for SCPickerConfigurationError
impl UnwindSafe for SCPickerConfigurationError
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