pub enum BuildError {
Show 14 variants
InvalidSeedBytes,
InvalidSeedFile,
InvalidSystemTime,
InvalidChannelMonitor,
InvalidListeningAddresses,
InvalidAnnouncementAddresses,
InvalidNodeAlias,
ReadFailed,
WriteFailed,
StoragePathAccessFailed,
KVStoreSetupFailed,
WalletSetupFailed,
LoggerSetupFailed,
NetworkMismatch,
}
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.
InvalidAnnouncementAddresses
The given announcement addresses are invalid, e.g. too many were passed.
InvalidNodeAlias
The provided alias is invalid.
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.
NetworkMismatch
The given network does not match the node’s previously configured network.
Trait Implementations§
Source§impl Clone for BuildError
impl Clone for BuildError
Source§fn clone(&self) -> BuildError
fn clone(&self) -> BuildError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for BuildError
impl PartialEq for BuildError
impl StructuralPartialEq for BuildError
Auto Trait Implementations§
impl Freeze for BuildError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.