pub enum SdkEvent {
Synced,
DataSynced {
did_pull_new_records: bool,
},
UnclaimedDeposits {
unclaimed_deposits: Vec<DepositInfo>,
},
ClaimedDeposits {
claimed_deposits: Vec<DepositInfo>,
},
PaymentSucceeded {
payment: Payment,
},
PaymentPending {
payment: Payment,
},
PaymentFailed {
payment: Payment,
},
}Expand description
Events emitted by the SDK
Variants§
Synced
Emitted when the wallet has been synchronized with the network
DataSynced
Emitted when data was pushed and/or pulled to/from real-time sync storage.
Fields
UnclaimedDeposits
Emitted when the SDK was unable to claim deposits
Fields
§
unclaimed_deposits: Vec<DepositInfo>ClaimedDeposits
Fields
§
claimed_deposits: Vec<DepositInfo>PaymentSucceeded
PaymentPending
PaymentFailed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SdkEvent
impl RefUnwindSafe for SdkEvent
impl Send for SdkEvent
impl Sync for SdkEvent
impl Unpin for SdkEvent
impl UnwindSafe for SdkEvent
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.