Struct pgx_pg_sys::BackgroundWorker
source · [−]#[repr(C)]pub struct BackgroundWorker {
pub bgw_name: [c_char; 96],
pub bgw_type: [c_char; 96],
pub bgw_flags: c_int,
pub bgw_start_time: BgWorkerStartTime,
pub bgw_restart_time: c_int,
pub bgw_library_name: [c_char; 96],
pub bgw_function_name: [c_char; 96],
pub bgw_main_arg: Datum,
pub bgw_extra: [c_char; 128],
pub bgw_notify_pid: pid_t,
}
Fields
bgw_name: [c_char; 96]
bgw_type: [c_char; 96]
bgw_flags: c_int
bgw_start_time: BgWorkerStartTime
bgw_restart_time: c_int
bgw_library_name: [c_char; 96]
bgw_function_name: [c_char; 96]
bgw_main_arg: Datum
bgw_extra: [c_char; 128]
bgw_notify_pid: pid_t
Trait Implementations
sourceimpl Clone for BackgroundWorker
impl Clone for BackgroundWorker
sourcefn clone(&self) -> BackgroundWorker
fn clone(&self) -> BackgroundWorker
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 BackgroundWorker
impl Debug for BackgroundWorker
sourceimpl Default for BackgroundWorker
impl Default for BackgroundWorker
impl Copy for BackgroundWorker
Auto Trait Implementations
impl RefUnwindSafe for BackgroundWorker
impl Send for BackgroundWorker
impl Sync for BackgroundWorker
impl Unpin for BackgroundWorker
impl UnwindSafe for BackgroundWorker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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