Enum PageBoundsErrorReason
pub enum PageBoundsErrorReason {
BeginNegative {
begin: i32,
},
NumOutOfRange {
num: i32,
min: i32,
max: i32,
},
MaxCountNegative {
max_count: i32,
},
MaxCountTooLarge {
max_count: i32,
max_allowed: i32,
},
}Variants§
BeginNegative
NumOutOfRange
MaxCountNegative
Negative max_count is invalid; None / 0 means unbounded.
MaxCountTooLarge
Positive max_count exceeds the endpoint cap.
Trait Implementations§
§impl Clone for PageBoundsErrorReason
impl Clone for PageBoundsErrorReason
§fn clone(&self) -> PageBoundsErrorReason
fn clone(&self) -> PageBoundsErrorReason
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 more§impl Debug for PageBoundsErrorReason
impl Debug for PageBoundsErrorReason
impl Eq for PageBoundsErrorReason
§impl PartialEq for PageBoundsErrorReason
impl PartialEq for PageBoundsErrorReason
§fn eq(&self, other: &PageBoundsErrorReason) -> bool
fn eq(&self, other: &PageBoundsErrorReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PageBoundsErrorReason
Auto Trait Implementations§
impl Freeze for PageBoundsErrorReason
impl RefUnwindSafe for PageBoundsErrorReason
impl Send for PageBoundsErrorReason
impl Sync for PageBoundsErrorReason
impl Unpin for PageBoundsErrorReason
impl UnsafeUnpin for PageBoundsErrorReason
impl UnwindSafe for PageBoundsErrorReason
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more