pub enum SCPickerOutcome {
Picked(SCPickerResult),
Cancelled,
Error(String),
}Expand description
Outcome from the main show() API
Variants§
Picked(SCPickerResult)
User selected content - contains result with filter and metadata
Cancelled
User cancelled the picker
Error(String)
An error occurred
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SCPickerOutcome
impl RefUnwindSafe for SCPickerOutcome
impl Send for SCPickerOutcome
impl Sync for SCPickerOutcome
impl Unpin for SCPickerOutcome
impl UnwindSafe for SCPickerOutcome
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