pub struct CancelKey {
pub process_id: u32,
pub secret_key: Bytes,
}Expand description
Backend cancellation credentials captured during startup.
Fields§
§process_id: u32Backend process identifier.
secret_key: BytesOpaque cancellation secret; its debug representation is redacted.
Trait Implementations§
impl Eq for CancelKey
impl StructuralPartialEq for CancelKey
Auto Trait Implementations§
impl !Freeze for CancelKey
impl RefUnwindSafe for CancelKey
impl Send for CancelKey
impl Sync for CancelKey
impl Unpin for CancelKey
impl UnsafeUnpin for CancelKey
impl UnwindSafe for CancelKey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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