Enum openmls::error::ApplyUpdatePathError
source · [−]pub enum ApplyUpdatePathError {
LibraryError(LibraryError),
PathLengthMismatch,
PathMismatch,
ParentHashMismatch,
MissingParentHash,
UnableToDecrypt,
MissingSender,
}
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.
Trait Implementations
sourceimpl Clone for ApplyUpdatePathError
impl Clone for ApplyUpdatePathError
sourcefn clone(&self) -> ApplyUpdatePathError
fn clone(&self) -> ApplyUpdatePathError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApplyUpdatePathError
impl Debug for ApplyUpdatePathError
sourceimpl Display for ApplyUpdatePathError
impl Display for ApplyUpdatePathError
sourceimpl Error for ApplyUpdatePathError
impl Error for ApplyUpdatePathError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<ApplyUpdatePathError> for StageCommitError
impl From<ApplyUpdatePathError> for StageCommitError
sourcefn from(source: ApplyUpdatePathError) -> Self
fn from(source: ApplyUpdatePathError) -> Self
Performs the conversion.
sourceimpl From<LibraryError> for ApplyUpdatePathError
impl From<LibraryError> for ApplyUpdatePathError
sourcefn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Performs the conversion.
sourceimpl PartialEq<ApplyUpdatePathError> for ApplyUpdatePathError
impl PartialEq<ApplyUpdatePathError> for ApplyUpdatePathError
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ApplyUpdatePathError) -> bool
fn ne(&self, other: &ApplyUpdatePathError) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more