Enum holochain::core::SourceChainError [−][src]
pub enum SourceChainError {
Show 28 variants
ChainEmpty,
HeadMoved(Vec<(Option<Zome>, SignedHeaderHashed), Global>, Vec<HoloHashed<Entry>, Global>, Option<HoloHash<Header>>, Option<(HoloHash<Header>, u32, Timestamp)>),
TimestampError(TimestampError),
ScratchError(ScratchError),
ChainLocked,
LockExpired,
DirtyCounterSigningWrite,
InvalidStructure(ChainInvalidReason),
MissingHead,
MalformedEntry(HoloHash<Entry>),
SerializationError(SerializedBytesError),
DatabaseError(DatabaseError),
SerdeJsonError(String),
InvalidSignature,
InvalidPreviousHeader(String),
InvalidCommit(String),
InvalidLink(String),
KeystoreError(KeystoreError),
DhtOpError(DhtOpError),
HolochainP2pError(HolochainP2pError),
ScratchNotFresh,
ElementMissing(String),
ElementGroupError(ElementGroupError),
StateMutationError(StateMutationError),
StateQueryError(StateQueryError),
SyncScratchError(SyncScratchError),
CounterSigningError(CounterSigningError),
Other(Box<dyn Error + Send + Sync + 'static, Global>),
}
Variants
HeadMoved(Vec<(Option<Zome>, SignedHeaderHashed), Global>, Vec<HoloHashed<Entry>, Global>, Option<HoloHash<Header>>, Option<(HoloHash<Header>, u32, Timestamp)>)
Tuple Fields of HeadMoved
ScratchError(ScratchError)
Tuple Fields of ScratchError
0: ScratchError
InvalidStructure(ChainInvalidReason)
Tuple Fields of InvalidStructure
SerializationError(SerializedBytesError)
Tuple Fields of SerializationError
DatabaseError(DatabaseError)
Tuple Fields of DatabaseError
SerdeJsonError(String)
Tuple Fields of SerdeJsonError
0: String
Element signature doesn’t validate against the header
InvalidPreviousHeader(String)
Element previous header reference is invalid
Tuple Fields of InvalidPreviousHeader
0: String
InvalidCommit(String)
Tuple Fields of InvalidCommit
0: String
InvalidLink(String)
Tuple Fields of InvalidLink
0: String
KeystoreError(KeystoreError)
Tuple Fields of KeystoreError
DhtOpError(DhtOpError)
Tuple Fields of DhtOpError
0: DhtOpError
HolochainP2pError(HolochainP2pError)
Tuple Fields of HolochainP2pError
ElementMissing(String)
Element signature doesn’t validate against the header
Tuple Fields of ElementMissing
0: String
ElementGroupError(ElementGroupError)
Tuple Fields of ElementGroupError
StateMutationError(StateMutationError)
Tuple Fields of StateMutationError
StateQueryError(StateQueryError)
Tuple Fields of StateQueryError
SyncScratchError(SyncScratchError)
Tuple Fields of SyncScratchError
CounterSigningError(CounterSigningError)
Tuple Fields of CounterSigningError
Other
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for SourceChainError
impl Send for SourceChainError
impl Sync for SourceChainError
impl Unpin for SourceChainError
impl !UnwindSafe for SourceChainError
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more