pub enum GraphSyncError {
DecodeError(DecodeError),
LightningError(LightningError),
}
Expand description
All-encompassing standard error type that processing can return
Variants
DecodeError(DecodeError)
Error trying to read the update data, typically due to an erroneous data length indication that is greater than the actual amount of data provided
LightningError(LightningError)
Error applying the patch to the network graph, usually the result of updates that are too old or missing prerequisite data to the application of updates out of order
Trait Implementations
sourceimpl Debug for GraphSyncError
impl Debug for GraphSyncError
sourceimpl From<DecodeError> for GraphSyncError
impl From<DecodeError> for GraphSyncError
sourcefn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
sourceimpl From<Error> for GraphSyncError
impl From<Error> for GraphSyncError
sourceimpl From<LightningError> for GraphSyncError
impl From<LightningError> for GraphSyncError
sourcefn from(error: LightningError) -> Self
fn from(error: LightningError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for GraphSyncError
impl Send for GraphSyncError
impl Sync for GraphSyncError
impl Unpin for GraphSyncError
impl UnwindSafe for GraphSyncError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more