pub trait MySerialize {
    // Required method
    fn serialize(&self, buf: &mut Vec<u8>);
}
Expand description

Serialization for various MySql types.

Required Methods§

source

fn serialize(&self, buf: &mut Vec<u8>)

Serializes self into the buf.

Implementations on Foreign Types§

source§

impl MySerialize for f64

source§

fn serialize(&self, buf: &mut Vec<u8>)

source§

impl MySerialize for [u8]

source§

fn serialize(&self, buf: &mut Vec<u8>)

source§

impl<const LEN: usize> MySerialize for SmallVec<[u8; LEN]>where [u8; LEN]: Array<Item = u8>,

source§

fn serialize(&self, buf: &mut Vec<u8>)

source§

impl<const LEN: usize> MySerialize for [u8; LEN]

source§

fn serialize(&self, buf: &mut Vec<u8>)

Implementors§

source§

impl MySerialize for EventData<'_>

source§

impl MySerialize for RowsEventData<'_>

source§

impl MySerialize for AuthPlugin<'_>

source§

impl MySerialize for AuthPluginData

source§

impl MySerialize for ErrPacket<'_>

source§

impl MySerialize for SessionStateChange<'_>

source§

impl MySerialize for Value

source§

impl MySerialize for BeginLoadQueryEvent<'_>

source§

impl MySerialize for BinlogEventHeader

source§

impl MySerialize for ColumnCharsets<'_>

source§

impl MySerialize for ColumnName<'_>

source§

impl MySerialize for ColumnNames<'_>

source§

impl MySerialize for DefaultCharset<'_>

source§

impl MySerialize for DeleteRowsEvent<'_>

source§

impl MySerialize for DeleteRowsEventV1<'_>

source§

impl MySerialize for EnumStrValue<'_>

source§

impl MySerialize for EnumStrValues<'_>

source§

impl MySerialize for EnumsStrValues<'_>

source§

impl MySerialize for ExecuteLoadQueryEvent<'_>

source§

impl MySerialize for FormatDescriptionEvent<'_>

source§

impl MySerialize for GeometryTypes<'_>

source§

impl MySerialize for IncidentEvent<'_>

source§

impl MySerialize for IntvarEvent

source§

impl MySerialize for NonDefaultCharset

source§

impl MySerialize for PartialUpdateRowsEvent<'_>

source§

impl MySerialize for PrimaryKeyWithPrefix

source§

impl MySerialize for PrimaryKeysWithPrefix<'_>

source§

impl MySerialize for QueryEvent<'_>

source§

impl MySerialize for RandEvent

source§

impl MySerialize for RotateEvent<'_>

source§

impl MySerialize for RowsEvent<'_>

source§

impl MySerialize for RowsQueryEvent<'_>

source§

impl MySerialize for SetStrValue<'_>

source§

impl MySerialize for SetStrValues<'_>

source§

impl MySerialize for SetsStrValues<'_>

source§

impl MySerialize for SimplePrimaryKey<'_>

source§

impl MySerialize for StatusVars<'_>

source§

impl MySerialize for TableMapEvent<'_>

source§

impl MySerialize for UpdateRowsEvent<'_>

source§

impl MySerialize for UpdateRowsEventV1<'_>

source§

impl MySerialize for UserVarEvent<'_>

source§

impl MySerialize for WriteRowsEvent<'_>

source§

impl MySerialize for WriteRowsEventV1<'_>

source§

impl MySerialize for XidEvent

source§

impl MySerialize for JsonbString<'_>

source§

impl MySerialize for Gtids<'_>

source§

impl MySerialize for Schema<'_>

source§

impl MySerialize for SystemVariable<'_>

source§

impl MySerialize for TransactionCharacteristics<'_>

source§

impl MySerialize for TransactionState<'_>

source§

impl MySerialize for Unsupported<'_>

source§

impl MySerialize for AuthMoreData<'_>

source§

impl MySerialize for AuthSwitchRequest<'_>

source§

impl MySerialize for Column

source§

impl MySerialize for ComBinlogDump<'_>

source§

impl MySerialize for ComBinlogDumpGtid<'_>

source§

impl MySerialize for ComRegisterSlave<'_>

source§

impl MySerialize for ComStmtClose

source§

impl MySerialize for ComStmtExecuteRequest<'_>

source§

impl MySerialize for ComStmtSendLongData<'_>

source§

impl MySerialize for ComTableDump<'_>

source§

impl MySerialize for HandshakePacket<'_>

source§

impl MySerialize for HandshakeResponse<'_>

source§

impl MySerialize for Interval

source§

impl MySerialize for LocalInfilePacket<'_>

source§

impl MySerialize for OldAuthSwitchRequest

source§

impl MySerialize for ProgressReport<'_>

source§

impl MySerialize for SemiSyncAckPacket<'_>

source§

impl MySerialize for ServerError<'_>

source§

impl MySerialize for SessionStateInfo<'_>

source§

impl MySerialize for Sid<'_>

source§

impl MySerialize for SslRequest

source§

impl MySerialize for StmtPacket

source§

impl<'de> MySerialize for AnonymousGtidEvent

source§

impl<'de> MySerialize for GtidEvent

source§

impl<T, U> MySerialize for Either<T, U>where T: MySerialize, U: MySerialize,

source§

impl<T, U> MySerialize for Const<T, U>where T: Copy + Into<U::Primitive>, U: IntRepr,

source§

impl<T, U> MySerialize for Seq<'_, T, U>where T: Clone + MySerialize, U: SeqRepr,

source§

impl<T, const LEN: usize> MySerialize for ConstBytes<T, LEN>where T: ConstBytesValue<LEN>,

source§

impl<T, const N: u8> MySerialize for ConstU8<T, N>

source§

impl<T, const N: u32> MySerialize for ConstU32<T, N>

source§

impl<T: Bitflags, U> MySerialize for RawFlags<T, U>where U: IntRepr<Primitive = T::Repr>,

source§

impl<T: BytesRepr> MySerialize for RawBytes<'_, T>

source§

impl<T: IntRepr> MySerialize for RawInt<T>

source§

impl<T: IntRepr<Primitive = u8>, U> MySerialize for RawSeq<'_, T, U>

source§

impl<T: IntRepr, U> MySerialize for RawConst<T, U>

source§

impl<const LEN: usize> MySerialize for Skip<LEN>