pub enum ApplyOwnUpdatePathError {
LibraryError(LibraryError),
TreeFull,
LeafNodeBuild(LeafNodeBuildError),
}Available on 32-bit or 64-bit only.
Expand description
Error applying this client’s own update path.
Distinct from TreeSyncAddLeaf because applying an own update path also
builds the new leaf, which inserting an already-signed one does not.
Variants§
LibraryError(LibraryError)
See LibraryError for more details.
TreeFull
The tree is full, we cannot add any more leaves.
LeafNodeBuild(LeafNodeBuildError)
The leaf node’s capabilities don’t cover what the leaf itself uses.
Trait Implementations§
Source§impl Clone for ApplyOwnUpdatePathError
impl Clone for ApplyOwnUpdatePathError
Source§impl Debug for ApplyOwnUpdatePathError
impl Debug for ApplyOwnUpdatePathError
Source§impl Display for ApplyOwnUpdatePathError
impl Display for ApplyOwnUpdatePathError
Source§impl Error for ApplyOwnUpdatePathError
impl Error for ApplyOwnUpdatePathError
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 From<ApplyOwnUpdatePathError> for CreateCommitError
impl From<ApplyOwnUpdatePathError> for CreateCommitError
Source§fn from(source: ApplyOwnUpdatePathError) -> Self
fn from(source: ApplyOwnUpdatePathError) -> 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<LibraryError> for ApplyOwnUpdatePathError
impl From<LibraryError> for ApplyOwnUpdatePathError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl From<TreeSyncAddLeaf> for ApplyOwnUpdatePathError
impl From<TreeSyncAddLeaf> for ApplyOwnUpdatePathError
Source§fn from(e: TreeSyncAddLeaf) -> Self
fn from(e: TreeSyncAddLeaf) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApplyOwnUpdatePathError
impl PartialEq for ApplyOwnUpdatePathError
impl StructuralPartialEq for ApplyOwnUpdatePathError
Auto Trait Implementations§
impl Freeze for ApplyOwnUpdatePathError
impl RefUnwindSafe for ApplyOwnUpdatePathError
impl Send for ApplyOwnUpdatePathError
impl Sync for ApplyOwnUpdatePathError
impl Unpin for ApplyOwnUpdatePathError
impl UnsafeUnpin for ApplyOwnUpdatePathError
impl UnwindSafe for ApplyOwnUpdatePathError
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