pub enum ElementError {
MissingClientSecret,
StripeJsUnavailable,
MissingMountTarget,
}Expand description
Why the client refused to mount a payment element.
Variants§
MissingClientSecret
The configuration carries no client secret.
Stripe.js was not present on the page.
MissingMountTarget
The host page has no element to mount into.
Trait Implementations§
Source§impl Clone for ElementError
impl Clone for ElementError
impl Copy for ElementError
Source§impl Debug for ElementError
impl Debug for ElementError
impl Eq for ElementError
Source§impl PartialEq for ElementError
impl PartialEq for ElementError
impl StructuralPartialEq for ElementError
Auto Trait Implementations§
impl Freeze for ElementError
impl RefUnwindSafe for ElementError
impl Send for ElementError
impl Sync for ElementError
impl Unpin for ElementError
impl UnsafeUnpin for ElementError
impl UnwindSafe for ElementError
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