pub enum FrontendMessage {
PasswordMessage(PasswordMessage),
Query(Query),
Flush,
Terminate,
Sync,
Parse(Parse),
Bind(Bind),
Describe(Describe),
Execute(Execute),
Close(Close),
Extension(Box<dyn FrontendMessageExtension>),
}Expand description
All frontend messages (request which client sends to the server).
Variants§
PasswordMessage(PasswordMessage)
Query(Query)
Simple Query
Flush
Flush network buffer
Terminate
Close connection
Sync
Sync primitive in Extended Query for error recovery.
Parse(Parse)
Extended Query. Create Statement.
Bind(Bind)
Extended Query. Creating Portal from specific Statement by replacing placeholders by real values.
Describe(Describe)
Extended Query. Describe Portal/Statement
Execute(Execute)
Extended Query. Select n rows from existed Portal
Close(Close)
Extended Query. Close Portal/Statement
Extension(Box<dyn FrontendMessageExtension>)
Extension
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrontendMessage
impl !RefUnwindSafe for FrontendMessage
impl Send for FrontendMessage
impl Sync for FrontendMessage
impl Unpin for FrontendMessage
impl UnsafeUnpin for FrontendMessage
impl !UnwindSafe for FrontendMessage
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