Struct pgx_pg_sys::SpinDelayStatus
source · [−]#[repr(C)]pub struct SpinDelayStatus {
pub spins: c_int,
pub delays: c_int,
pub cur_delay: c_int,
pub file: *const c_char,
pub line: c_int,
pub func: *const c_char,
}
Fields
spins: c_int
delays: c_int
cur_delay: c_int
file: *const c_char
line: c_int
func: *const c_char
Trait Implementations
sourceimpl Clone for SpinDelayStatus
impl Clone for SpinDelayStatus
sourcefn clone(&self) -> SpinDelayStatus
fn clone(&self) -> SpinDelayStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SpinDelayStatus
impl Debug for SpinDelayStatus
sourceimpl Default for SpinDelayStatus
impl Default for SpinDelayStatus
impl Copy for SpinDelayStatus
Auto Trait Implementations
impl RefUnwindSafe for SpinDelayStatus
impl !Send for SpinDelayStatus
impl !Sync for SpinDelayStatus
impl Unpin for SpinDelayStatus
impl UnwindSafe for SpinDelayStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more