Enum openmls::treesync::errors::UpdatePathError
source · pub enum UpdatePathError {
InvalidType,
SignatureError(SignatureError),
}
Expand description
Errors that can happen during path validation.
Variants§
InvalidType
The update path contains an invalid type of leaf node.
SignatureError(SignatureError)
See SignatureError
for more details.
Trait Implementations§
source§impl Clone for UpdatePathError
impl Clone for UpdatePathError
source§fn clone(&self) -> UpdatePathError
fn clone(&self) -> UpdatePathError
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 UpdatePathError
impl Debug for UpdatePathError
source§impl Display for UpdatePathError
impl Display for UpdatePathError
source§impl Error for UpdatePathError
impl Error for UpdatePathError
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<SignatureError> for UpdatePathError
impl From<SignatureError> for UpdatePathError
source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Converts to this type from the input type.
source§impl From<UpdatePathError> for StageCommitError
impl From<UpdatePathError> for StageCommitError
source§fn from(source: UpdatePathError) -> Self
fn from(source: UpdatePathError) -> Self
Converts to this type from the input type.
source§impl From<UpdatePathError> for ValidationError
impl From<UpdatePathError> for ValidationError
source§fn from(source: UpdatePathError) -> Self
fn from(source: UpdatePathError) -> Self
Converts to this type from the input type.
source§impl PartialEq<UpdatePathError> for UpdatePathError
impl PartialEq<UpdatePathError> for UpdatePathError
source§fn eq(&self, other: &UpdatePathError) -> bool
fn eq(&self, other: &UpdatePathError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UpdatePathError
impl StructuralEq for UpdatePathError
impl StructuralPartialEq for UpdatePathError
Auto Trait Implementations§
impl RefUnwindSafe for UpdatePathError
impl Send for UpdatePathError
impl Sync for UpdatePathError
impl Unpin for UpdatePathError
impl UnwindSafe for UpdatePathError
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