pub enum TopologyError {
ZeroNodeCapacity,
EmptyNode {
index: usize,
},
OversizedNode {
index: usize,
len: usize,
capacity: usize,
},
UnsortedNode {
index: usize,
},
OverlappingNodes {
left: usize,
right: usize,
},
}Expand description
A pointer-free topology cannot be attached without violating B-tree node ordering or capacity invariants.
Variants§
Trait Implementations§
Source§impl Clone for TopologyError
impl Clone for TopologyError
Source§fn clone(&self) -> TopologyError
fn clone(&self) -> TopologyError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TopologyError
impl Debug for TopologyError
Source§impl Display for TopologyError
Available on crate feature cdc only.
impl Display for TopologyError
Available on crate feature
cdc only.impl Eq for TopologyError
Source§impl Error for TopologyError
Available on crate feature cdc only.
impl Error for TopologyError
Available on crate feature
cdc only.1.30.0 · 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 PartialEq for TopologyError
impl PartialEq for TopologyError
impl StructuralPartialEq for TopologyError
Auto Trait Implementations§
impl Freeze for TopologyError
impl RefUnwindSafe for TopologyError
impl Send for TopologyError
impl Sync for TopologyError
impl Unpin for TopologyError
impl UnsafeUnpin for TopologyError
impl UnwindSafe for TopologyError
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