Enum acceptxmr::PaymentGatewayStatus
source · pub enum PaymentGatewayStatus {
Running,
NotRunning,
Error(AcceptXmrError),
}
Expand description
Enumeration of possible payment gateway states.
Variants§
Running
The payment gateway is scanning for incoming payments.
NotRunning
The payment gateway is not scanning for incoming payments.
Error(AcceptXmrError)
The payment gateway encountered an error while scanning for incoming payments, and had to stop.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PaymentGatewayStatus
impl Send for PaymentGatewayStatus
impl !Sync for PaymentGatewayStatus
impl Unpin for PaymentGatewayStatus
impl !UnwindSafe for PaymentGatewayStatus
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