pub struct MemoryNode { /* private fields */ }Implementations§
Source§impl MemoryNode
impl MemoryNode
Trait Implementations§
Source§impl LightningNode for MemoryNode
impl LightningNode for MemoryNode
fn create_invoice<'life0, 'async_trait>(
&'life0 self,
req: InvoiceCreateRequest,
) -> Pin<Box<dyn Future<Output = Result<Invoice, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn lookup_invoice<'life0, 'life1, 'async_trait>(
&'life0 self,
payment_hash: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<InvoiceLookup, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn pay_invoice<'life0, 'life1, 'async_trait>(
&'life0 self,
bolt11: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<PaymentResult, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for MemoryNode
impl RefUnwindSafe for MemoryNode
impl Send for MemoryNode
impl Sync for MemoryNode
impl Unpin for MemoryNode
impl UnsafeUnpin for MemoryNode
impl UnwindSafe for MemoryNode
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