pub struct BackendKeyDataBody { /* private fields */ }Expand description
Backend key data body.
Contains information needed to cancel a running query. The client can use these values to send a cancel request.
Implementations§
Source§impl BackendKeyDataBody
impl BackendKeyDataBody
Sourcepub fn process_id(&self) -> i32
pub fn process_id(&self) -> i32
Returns the process ID.
Sourcepub fn secret_key(&self) -> i32
pub fn secret_key(&self) -> i32
Returns the secret key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BackendKeyDataBody
impl RefUnwindSafe for BackendKeyDataBody
impl Send for BackendKeyDataBody
impl Sync for BackendKeyDataBody
impl Unpin for BackendKeyDataBody
impl UnsafeUnpin for BackendKeyDataBody
impl UnwindSafe for BackendKeyDataBody
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request