pub enum RemapError {
VirtualPartitionOutOfRange {
partition: i32,
max_partition: u32,
},
NegativePartition(i32),
InvalidPhysicalOffset {
offset: i64,
partition: i32,
},
NegativeOffset(i64),
}Expand description
Errors specific to partition/offset remapping operations.
Variants§
VirtualPartitionOutOfRange
Virtual partition index exceeds configured maximum.
NegativePartition(i32)
Negative partition index is invalid.
InvalidPhysicalOffset
Physical offset does not map to any valid virtual partition.
NegativeOffset(i64)
Negative offset is invalid for mapping.
Trait Implementations§
Source§impl Clone for RemapError
impl Clone for RemapError
Source§fn clone(&self) -> RemapError
fn clone(&self) -> RemapError
Returns a duplicate of the value. Read more
1.0.0 · 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 RemapError
impl Debug for RemapError
Source§impl Display for RemapError
impl Display for RemapError
Source§impl Error for RemapError
impl Error for RemapError
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 From<RemapError> for ProxyError
impl From<RemapError> for ProxyError
Source§fn from(source: RemapError) -> Self
fn from(source: RemapError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RemapError
impl PartialEq for RemapError
impl Eq for RemapError
impl StructuralPartialEq for RemapError
Auto Trait Implementations§
impl Freeze for RemapError
impl RefUnwindSafe for RemapError
impl Send for RemapError
impl Sync for RemapError
impl Unpin for RemapError
impl UnwindSafe for RemapError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.