#[repr(u8)]pub enum CloseType {
Portal = 80,
Statement = 83,
}Expand description
The type of object to close.
Variants§
Trait Implementations§
Source§impl DataType for CloseType
impl DataType for CloseType
const META: StructFieldMeta
type BuilderForStruct<'unused> = CloseType
Source§type BuilderForEncode = CloseType
type BuilderForEncode = CloseType
Always a reference
type DecodeLifetime<'a> = CloseType
fn decode(buf: &mut &[u8]) -> Result<Self, ParseError>
fn encode<'__buffer_lifetime, '__value_lifetime>( buf: &mut BufWriter<'__buffer_lifetime>, value: &'__value_lifetime Self::BuilderForEncode, )
fn encode_usize<'a>(buf: &mut BufWriter<'a>, value: usize)
fn decode_usize(buf: &mut &[u8]) -> Result<usize, ParseError>
impl Copy for CloseType
impl Eq for CloseType
impl StructuralPartialEq for CloseType
Auto Trait Implementations§
impl Freeze for CloseType
impl RefUnwindSafe for CloseType
impl Send for CloseType
impl Sync for CloseType
impl Unpin for CloseType
impl UnwindSafe for CloseType
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