pub struct Truncation(pub u32);Expand description
Which request bounds cut a snapshot short.
Tuple Fields§
§0: u32Implementations§
Source§impl Truncation
impl Truncation
Sourcepub const EMPTY: Truncation
pub const EMPTY: Truncation
No bit set.
Sourcepub const DEPTH: Truncation
pub const DEPTH: Truncation
max_depth was reached.
Sourcepub const NODES: Truncation
pub const NODES: Truncation
max_nodes was reached.
Sourcepub const WINDOWS: Truncation
pub const WINDOWS: Truncation
A window could not be read.
Sourcepub const fn contains(self, other: Truncation) -> bool
pub const fn contains(self, other: Truncation) -> bool
Whether every bit of other is set in self.
Trait Implementations§
Source§impl BitOr for Truncation
impl BitOr for Truncation
Source§type Output = Truncation
type Output = Truncation
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: Truncation) -> Truncation
fn bitor(self, rhs: Truncation) -> Truncation
Performs the
| operation. Read moreSource§impl BitOrAssign for Truncation
impl BitOrAssign for Truncation
Source§fn bitor_assign(&mut self, rhs: Truncation)
fn bitor_assign(&mut self, rhs: Truncation)
Performs the
|= operation. Read moreSource§impl Clone for Truncation
impl Clone for Truncation
impl Copy for Truncation
Source§impl Debug for Truncation
impl Debug for Truncation
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for Truncation
impl<'bytes, Ctx> Decode<'bytes, Ctx> for Truncation
Source§impl Default for Truncation
impl Default for Truncation
Source§impl Display for Truncation
impl Display for Truncation
Source§impl<Ctx> Encode<Ctx> for Truncation
impl<Ctx> Encode<Ctx> for Truncation
impl Eq for Truncation
Source§impl Hash for Truncation
impl Hash for Truncation
Source§impl PartialEq for Truncation
impl PartialEq for Truncation
impl StructuralPartialEq for Truncation
Auto Trait Implementations§
impl Freeze for Truncation
impl RefUnwindSafe for Truncation
impl Send for Truncation
impl Sync for Truncation
impl Unpin for Truncation
impl UnsafeUnpin for Truncation
impl UnwindSafe for Truncation
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