Struct lightning_signer::util::test_utils::TestPersister[][src]

pub struct TestPersister {
    pub update_ret: Mutex<Result<(), ChannelMonitorUpdateErr>>,
}

Fields

update_ret: Mutex<Result<(), ChannelMonitorUpdateErr>>

Implementations

Trait Implementations

Persist a new channel’s data in response to a chain::Watch::watch_channel call. This is called by ChannelManager for new channels, or may be called directly, e.g. on startup. Read more

Update one channel’s data. The provided ChannelMonitor has already applied the given update. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.