pub struct Close<'a> {
pub variant: u8,
pub name: &'a str,
}Expand description
Identifies the message as a Close command
Fields§
§variant: u8‘S’ to close a prepared statement; or ‘P’ to close a portal.
name: &'a strThe name of the prepared statement or portal to close (an empty string selects the unnamed prepared statement or portal).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Close<'a>
impl<'a> RefUnwindSafe for Close<'a>
impl<'a> Send for Close<'a>
impl<'a> Sync for Close<'a>
impl<'a> Unpin for Close<'a>
impl<'a> UnsafeUnpin for Close<'a>
impl<'a> UnwindSafe for Close<'a>
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