pub enum LeafNodeBuildError {
LibraryError(LibraryError),
Validation(LeafNodeValidationError),
}Available on 32-bit or 64-bit only.
Expand description
Error building a LeafNode: either the leaf’s capabilities don’t
cover what the leaf uses under CapabilitiesPolicy::Reject,
or an unrelated library error occurred (key generation, signing).
Variants§
LibraryError(LibraryError)
See LibraryError for more details.
Validation(LeafNodeValidationError)
See LeafNodeValidationError for more details.
Trait Implementations§
Source§impl Clone for LeafNodeBuildError
impl Clone for LeafNodeBuildError
Source§impl Debug for LeafNodeBuildError
impl Debug for LeafNodeBuildError
Source§impl Display for LeafNodeBuildError
impl Display for LeafNodeBuildError
Source§impl Error for LeafNodeBuildError
impl Error for LeafNodeBuildError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<StorageError> From<LeafNodeBuildError> for NewGroupError<StorageError>
impl<StorageError> From<LeafNodeBuildError> for NewGroupError<StorageError>
Source§fn from(source: LeafNodeBuildError) -> Self
fn from(source: LeafNodeBuildError) -> Self
Converts to this type from the input type.
Source§impl From<LeafNodeBuildError> for PublicGroupBuildError
impl From<LeafNodeBuildError> for PublicGroupBuildError
Source§fn from(source: LeafNodeBuildError) -> Self
fn from(source: LeafNodeBuildError) -> Self
Converts to this type from the input type.
Source§impl From<LeafNodeBuildError> for KeyPackageNewError
impl From<LeafNodeBuildError> for KeyPackageNewError
Source§fn from(source: LeafNodeBuildError) -> Self
fn from(source: LeafNodeBuildError) -> Self
Converts to this type from the input type.
Source§impl From<LeafNodeBuildError> for ApplyOwnUpdatePathError
impl From<LeafNodeBuildError> for ApplyOwnUpdatePathError
Source§fn from(source: LeafNodeBuildError) -> Self
fn from(source: LeafNodeBuildError) -> Self
Converts to this type from the input type.
Source§impl From<LeafNodeValidationError> for LeafNodeBuildError
impl From<LeafNodeValidationError> for LeafNodeBuildError
Source§fn from(source: LeafNodeValidationError) -> Self
fn from(source: LeafNodeValidationError) -> Self
Converts to this type from the input type.
Source§impl From<LibraryError> for LeafNodeBuildError
impl From<LibraryError> for LeafNodeBuildError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LeafNodeBuildError
impl PartialEq for LeafNodeBuildError
impl StructuralPartialEq for LeafNodeBuildError
Auto Trait Implementations§
impl Freeze for LeafNodeBuildError
impl RefUnwindSafe for LeafNodeBuildError
impl Send for LeafNodeBuildError
impl Sync for LeafNodeBuildError
impl Unpin for LeafNodeBuildError
impl UnsafeUnpin for LeafNodeBuildError
impl UnwindSafe for LeafNodeBuildError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more