pub struct CancelRequest {
pub process_id: u32,
pub secret: u32,
}Expand description
(F) Cancel request which clients sends as single message in separate connection. ref InitialMessage.
Fields§
§process_id: u32The process ID of the target backend. Postgres spawns a new process for each connection
secret: u32The secret key for the target backend. Random number
Trait Implementations§
Source§impl Debug for CancelRequest
impl Debug for CancelRequest
Source§impl PartialEq for CancelRequest
impl PartialEq for CancelRequest
Source§fn eq(&self, other: &CancelRequest) -> bool
fn eq(&self, other: &CancelRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CancelRequest
Auto Trait Implementations§
impl Freeze for CancelRequest
impl RefUnwindSafe for CancelRequest
impl Send for CancelRequest
impl Sync for CancelRequest
impl Unpin for CancelRequest
impl UnsafeUnpin for CancelRequest
impl UnwindSafe for CancelRequest
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