pub enum PreparedMessage {
Text(Bytes),
Binary(Bytes),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PreparedMessage
impl Clone for PreparedMessage
Source§fn clone(&self) -> PreparedMessage
fn clone(&self) -> PreparedMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreparedMessage
impl Debug for PreparedMessage
impl Eq for PreparedMessage
Source§impl PartialEq for PreparedMessage
impl PartialEq for PreparedMessage
Source§fn eq(&self, other: &PreparedMessage) -> bool
fn eq(&self, other: &PreparedMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PreparedMessage
Auto Trait Implementations§
impl !Freeze for PreparedMessage
impl RefUnwindSafe for PreparedMessage
impl Send for PreparedMessage
impl Sync for PreparedMessage
impl Unpin for PreparedMessage
impl UnsafeUnpin for PreparedMessage
impl UnwindSafe for PreparedMessage
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