pub enum ChainShapeError {
Capacity,
Layout(ChainLayoutError),
AddressOverflow,
}Expand description
Why a set of regions is not a chain.
Variants§
Capacity
More regions than the chain type holds.
Layout(ChainLayoutError)
The protocol’s own chain rule refused the shape: fewer than one region in either direction, or a region of no bytes.
AddressOverflow
A region runs past the end of the address space.
Trait Implementations§
Source§impl Clone for ChainShapeError
impl Clone for ChainShapeError
impl Copy for ChainShapeError
Source§impl Debug for ChainShapeError
impl Debug for ChainShapeError
impl Eq for ChainShapeError
Source§impl PartialEq for ChainShapeError
impl PartialEq for ChainShapeError
impl StructuralPartialEq for ChainShapeError
Auto Trait Implementations§
impl Freeze for ChainShapeError
impl RefUnwindSafe for ChainShapeError
impl Send for ChainShapeError
impl Sync for ChainShapeError
impl Unpin for ChainShapeError
impl UnsafeUnpin for ChainShapeError
impl UnwindSafe for ChainShapeError
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