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§fn clone(&self) -> PhotoPickerStatus
fn clone(&self) -> PhotoPickerStatus
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 moreSource§impl From<&str> for PhotoPickerStatus
impl From<&str> for PhotoPickerStatus
Source§fn from(value: &str) -> PhotoPickerStatus
fn from(value: &str) -> PhotoPickerStatus
Converts to this type from the input type.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.