Enum ldk_node::BuildError
source · pub enum BuildError {
InvalidSeedBytes,
InvalidSeedFile,
InvalidSystemTime,
InvalidChannelMonitor,
InvalidListeningAddresses,
ReadFailed,
WriteFailed,
StoragePathAccessFailed,
KVStoreSetupFailed,
WalletSetupFailed,
LoggerSetupFailed,
}
Expand description
An error encountered during building a Node
.
Variants§
InvalidSeedBytes
The given seed bytes are invalid, e.g., have invalid length.
InvalidSeedFile
The given seed file is invalid, e.g., has invalid length, or could not be read.
InvalidSystemTime
The current system time is invalid, clocks might have gone backwards.
InvalidChannelMonitor
The a read channel monitor is invalid.
InvalidListeningAddresses
The given listening addresses are invalid, e.g. too many were passed.
ReadFailed
We failed to read data from the KVStore
.
WriteFailed
We failed to write data to the KVStore
.
StoragePathAccessFailed
We failed to access the given storage_dir_path
.
KVStoreSetupFailed
We failed to setup our KVStore
.
WalletSetupFailed
We failed to setup the onchain wallet.
LoggerSetupFailed
We failed to setup the logger.
Trait Implementations§
source§impl Clone for BuildError
impl Clone for BuildError
source§fn clone(&self) -> BuildError
fn clone(&self) -> BuildError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BuildError
impl Debug for BuildError
source§impl Display for BuildError
impl Display for BuildError
source§impl Error for BuildError
impl Error for BuildError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl UnwindSafe for BuildError
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