#[repr(u32)]pub enum BoundaryErrorKind {
InvalidModel = 1,
IndexOutOfRange = 2,
StaleTopology = 3,
CapacityExceeded = 4,
}Expand description
Category of a BoundaryError.
The discriminants are part of the boundary contract: foreign callers may
switch on BoundaryError::code and the values will not be renumbered.
Variants§
InvalidModel = 1
The model or hierarchy violates a structural invariant.
IndexOutOfRange = 2
A handle or row index is outside the exported table.
StaleTopology = 3
A frame was paired with a topology snapshot of a different hierarchy.
CapacityExceeded = 4
A count or byte length does not fit the boundary’s u32 index type.
Trait Implementations§
Source§impl Clone for BoundaryErrorKind
impl Clone for BoundaryErrorKind
Source§fn clone(&self) -> BoundaryErrorKind
fn clone(&self) -> BoundaryErrorKind
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 moreimpl Copy for BoundaryErrorKind
Source§impl Debug for BoundaryErrorKind
impl Debug for BoundaryErrorKind
impl Eq for BoundaryErrorKind
Source§impl Hash for BoundaryErrorKind
impl Hash for BoundaryErrorKind
Source§impl PartialEq for BoundaryErrorKind
impl PartialEq for BoundaryErrorKind
impl StructuralPartialEq for BoundaryErrorKind
Auto Trait Implementations§
impl Freeze for BoundaryErrorKind
impl RefUnwindSafe for BoundaryErrorKind
impl Send for BoundaryErrorKind
impl Sync for BoundaryErrorKind
impl Unpin for BoundaryErrorKind
impl UnsafeUnpin for BoundaryErrorKind
impl UnwindSafe for BoundaryErrorKind
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
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