pub struct Exact<const VALUE: c_int>(/* private fields */);Expand description
One native return whose producer reports exactly -1 or its one success value, so the ABI’s exactness proof is discharged once at admission and the decoder below is total without a second range check.
Implementations§
Trait Implementations§
impl<const VALUE: c_int> Copy for Exact<VALUE>
Auto Trait Implementations§
impl<const VALUE: i32> Freeze for Exact<VALUE>
impl<const VALUE: i32> RefUnwindSafe for Exact<VALUE>
impl<const VALUE: i32> Send for Exact<VALUE>
impl<const VALUE: i32> Sync for Exact<VALUE>
impl<const VALUE: i32> Unpin for Exact<VALUE>
impl<const VALUE: i32> UnsafeUnpin for Exact<VALUE>
impl<const VALUE: i32> UnwindSafe for Exact<VALUE>
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