pub enum MapError {
Cloud(CloudError),
Consent(ConsentError),
}Expand description
Why a checkout is not mapped (yet).
Variants§
Cloud(CloudError)
Consent(ConsentError)
The person has not confirmed the first share (or declined it).
Trait Implementations§
impl Eq for MapError
Source§impl From<CloudError> for MapError
impl From<CloudError> for MapError
Source§fn from(error: CloudError) -> Self
fn from(error: CloudError) -> Self
Converts to this type from the input type.
Source§impl From<ConsentError> for MapError
impl From<ConsentError> for MapError
Source§fn from(error: ConsentError) -> Self
fn from(error: ConsentError) -> Self
Converts to this type from the input type.
Source§impl From<MapError> for CloudError
impl From<MapError> for CloudError
impl StructuralPartialEq for MapError
Auto Trait Implementations§
impl Forget for MapError
impl Freeze for MapErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const PlanNeed is !null: Freeze,
PhantomData<PlanNeed>: Freeze,
*const InstanceCap is !null: Freeze,
PhantomData<InstanceCap>: Freeze,
*const Quota is !null: Freeze,
PhantomData<Quota>: Freeze,
*const StorageFull is !null: Freeze,
PhantomData<StorageFull>: Freeze,
impl Move for MapError
impl RefUnwindSafe for MapError
impl Send for MapErrorwhere
RawVecInner: Send,
BoxRaw<PlanNeed>: Send,
BoxRaw<InstanceCap>: Send,
BoxRaw<Quota>: Send,
BoxRaw<StorageFull>: Send,
impl Sync for MapErrorwhere
RawVecInner: Sync,
BoxRaw<PlanNeed>: Sync,
BoxRaw<InstanceCap>: Sync,
BoxRaw<Quota>: Sync,
BoxRaw<StorageFull>: Sync,
impl Unpin for MapError
impl UnsafeUnpin for MapErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const PlanNeed is !null: UnsafeUnpin,
PhantomData<PlanNeed>: UnsafeUnpin,
*const InstanceCap is !null: UnsafeUnpin,
PhantomData<InstanceCap>: UnsafeUnpin,
*const Quota is !null: UnsafeUnpin,
PhantomData<Quota>: UnsafeUnpin,
*const StorageFull is !null: UnsafeUnpin,
PhantomData<StorageFull>: UnsafeUnpin,
impl UnwindSafe for MapErrorwhere
RawVecInner: UnwindSafe,
BoxRaw<PlanNeed>: UnwindSafe,
BoxRaw<InstanceCap>: UnwindSafe,
BoxRaw<Quota>: UnwindSafe,
BoxRaw<StorageFull>: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more