Enum openmls::treesync::errors::ApplyUpdatePathError
source · pub enum ApplyUpdatePathError {
LibraryError(LibraryError),
PathLengthMismatch,
PathMismatch,
ParentHashMismatch,
MissingParentHash,
UnableToDecrypt,
MissingSender,
TreeFull,
InconsistentSenderIndex,
}
Expand description
Apply update path error
Variants§
LibraryError(LibraryError)
See LibraryError
for more details.
PathLengthMismatch
The length of the received update path and that of the sender’s direct path do not match.
PathMismatch
The received update path and the derived nodes are not identical.
ParentHashMismatch
The parent hash of the ney key package is invalid.
MissingParentHash
The parent hash of the ney key package is missing.
UnableToDecrypt
Unable to decrypt the path node.
MissingSender
Unable to find sender in tree.
TreeFull
Tree is already at maximum size.
InconsistentSenderIndex
External Committer used the wrong index.
Trait Implementations§
source§impl Clone for ApplyUpdatePathError
impl Clone for ApplyUpdatePathError
source§fn clone(&self) -> ApplyUpdatePathError
fn clone(&self) -> ApplyUpdatePathError
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 ApplyUpdatePathError
impl Debug for ApplyUpdatePathError
source§impl Display for ApplyUpdatePathError
impl Display for ApplyUpdatePathError
source§impl Error for ApplyUpdatePathError
impl Error for ApplyUpdatePathError
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()
source§impl From<ApplyUpdatePathError> for StageCommitError
impl From<ApplyUpdatePathError> for StageCommitError
source§fn from(source: ApplyUpdatePathError) -> Self
fn from(source: ApplyUpdatePathError) -> Self
Converts to this type from the input type.
source§impl From<LibraryError> for ApplyUpdatePathError
impl From<LibraryError> for ApplyUpdatePathError
source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ApplyUpdatePathError> for ApplyUpdatePathError
impl PartialEq<ApplyUpdatePathError> for ApplyUpdatePathError
source§fn eq(&self, other: &ApplyUpdatePathError) -> bool
fn eq(&self, other: &ApplyUpdatePathError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApplyUpdatePathError
Auto Trait Implementations§
impl RefUnwindSafe for ApplyUpdatePathError
impl Send for ApplyUpdatePathError
impl Sync for ApplyUpdatePathError
impl Unpin for ApplyUpdatePathError
impl UnwindSafe for ApplyUpdatePathError
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