pub enum AsyncMessage {
Notification {
pid: u32,
channel: String,
payload: String,
},
Notice(ServerError),
ParameterChanged {
name: String,
value: String,
},
}Expand description
Asynchronous message from the server.
These can arrive at any time during query execution.
Variants§
Notification
Notification from LISTEN/NOTIFY.
Fields
Notice(ServerError)
Non-fatal notice/warning from server.
ParameterChanged
Server parameter value changed.
Trait Implementations§
Source§impl Clone for AsyncMessage
impl Clone for AsyncMessage
Source§fn clone(&self) -> AsyncMessage
fn clone(&self) -> AsyncMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AsyncMessage
impl RefUnwindSafe for AsyncMessage
impl Send for AsyncMessage
impl Sync for AsyncMessage
impl Unpin for AsyncMessage
impl UnwindSafe for AsyncMessage
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