Enum acceptxmr::SubscriberError
source · pub enum SubscriberError {
RecvTimeout(Elapsed),
TryRecv(TryRecvError),
}
Expand description
An error occurring while receiving invoice updates.
Variants§
RecvTimeout(Elapsed)
Timed out before receiving update.
TryRecv(TryRecvError)
Subscriber is empty or disconnected.
Trait Implementations§
source§impl Debug for SubscriberError
impl Debug for SubscriberError
source§impl Display for SubscriberError
impl Display for SubscriberError
source§impl Error for SubscriberError
impl Error for SubscriberError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Elapsed> for SubscriberError
impl From<Elapsed> for SubscriberError
source§impl From<SubscriberError> for AcceptXmrError
impl From<SubscriberError> for AcceptXmrError
source§fn from(source: SubscriberError) -> Self
fn from(source: SubscriberError) -> Self
Converts to this type from the input type.
source§impl From<TryRecvError> for SubscriberError
impl From<TryRecvError> for SubscriberError
source§fn from(source: TryRecvError) -> Self
fn from(source: TryRecvError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SubscriberError
impl Send for SubscriberError
impl Sync for SubscriberError
impl Unpin for SubscriberError
impl UnwindSafe for SubscriberError
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