pub struct SpanBeyondU32 {
pub id: u32,
pub start: usize,
pub end: usize,
}Expand description
An entity span the index’s u32 columns cannot hold: it ends past 4 GiB
(or starts after it ends). Returned instead of truncating start as u32,
which in a release build handed lookup the span of some other bytes
(#7675, CORE-24). A source that large keeps the usize-carrying
EntityIndex hashmap; see the module docs.
Fields§
§id: u32§start: usize§end: usizeTrait Implementations§
Source§impl Clone for SpanBeyondU32
impl Clone for SpanBeyondU32
Source§fn clone(&self) -> SpanBeyondU32
fn clone(&self) -> SpanBeyondU32
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 SpanBeyondU32
impl Debug for SpanBeyondU32
Source§impl Display for SpanBeyondU32
impl Display for SpanBeyondU32
Source§impl Error for SpanBeyondU32
impl Error for SpanBeyondU32
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 SpanBeyondU32
impl PartialEq for SpanBeyondU32
impl Copy for SpanBeyondU32
impl Eq for SpanBeyondU32
impl StructuralPartialEq for SpanBeyondU32
Auto Trait Implementations§
impl Freeze for SpanBeyondU32
impl RefUnwindSafe for SpanBeyondU32
impl Send for SpanBeyondU32
impl Sync for SpanBeyondU32
impl Unpin for SpanBeyondU32
impl UnwindSafe for SpanBeyondU32
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