pub enum PhotoPickerStatus {
Selected,
Cancelled,
PermissionDenied,
Unavailable,
SizeLimitExceeded,
Failed,
}Expand description
Completion status for a native photo picker request.
Variants§
Selected
One or more photos were selected.
Cancelled
The platform picker was dismissed without a selection.
PermissionDenied
Camera or picker permission was denied or restricted.
The requested source is not available on this platform/device.
SizeLimitExceeded
One or more candidate photos exceeded the configured byte limit.
Failed
The platform picker failed for another reason.
Trait Implementations§
Source§impl Clone for PhotoPickerStatus
impl Clone for PhotoPickerStatus
Source§impl From<&str> for PhotoPickerStatus
impl From<&str> for PhotoPickerStatus
Source§impl PartialEq for PhotoPickerStatus
impl PartialEq for PhotoPickerStatus
impl StructuralPartialEq for PhotoPickerStatus
Auto Trait Implementations§
impl Freeze for PhotoPickerStatus
impl RefUnwindSafe for PhotoPickerStatus
impl Send for PhotoPickerStatus
impl Sync for PhotoPickerStatus
impl Unpin for PhotoPickerStatus
impl UnsafeUnpin for PhotoPickerStatus
impl UnwindSafe for PhotoPickerStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.