Enum mysql_common::binlog::events::EventData[][src]

pub enum EventData<'a> {
Show 34 variants UnknownEvent, StartEventV3(Cow<'a, [u8]>), QueryEvent(QueryEvent<'a>), StopEvent, RotateEvent(RotateEvent<'a>), IntvarEvent(IntvarEvent), LoadEvent(Cow<'a, [u8]>), SlaveEvent, CreateFileEvent(Cow<'a, [u8]>), AppendBlockEvent(Cow<'a, [u8]>), ExecLoadEvent(Cow<'a, [u8]>), DeleteFileEvent(Cow<'a, [u8]>), NewLoadEvent(Cow<'a, [u8]>), RandEvent(RandEvent), UserVarEvent(UserVarEvent<'a>), FormatDescriptionEvent(FormatDescriptionEvent<'a>), XidEvent(XidEvent), BeginLoadQueryEvent(BeginLoadQueryEvent<'a>), ExecuteLoadQueryEvent(ExecuteLoadQueryEvent<'a>), TableMapEvent(TableMapEvent<'a>), PreGaWriteRowsEvent(Cow<'a, [u8]>), PreGaUpdateRowsEvent(Cow<'a, [u8]>), PreGaDeleteRowsEvent(Cow<'a, [u8]>), IncidentEvent(IncidentEvent<'a>), HeartbeatEvent, IgnorableEvent(Cow<'a, [u8]>), RowsQueryEvent(RowsQueryEvent<'a>), GtidEvent(GtidEvent), AnonymousGtidEvent(AnonymousGtidEvent), PreviousGtidsEvent(Cow<'a, [u8]>), TransactionContextEvent(Cow<'a, [u8]>), ViewChangeEvent(Cow<'a, [u8]>), XaPrepareLogEvent(Cow<'a, [u8]>), RowsEvent(RowsEventData<'a>),
}
Expand description

Parsed event data.

Variants

UnknownEvent

StartEventV3(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

QueryEvent(QueryEvent<'a>)

Tuple Fields

0: QueryEvent<'a>

StopEvent

RotateEvent(RotateEvent<'a>)

Tuple Fields

0: RotateEvent<'a>

IntvarEvent(IntvarEvent)

Tuple Fields

LoadEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

SlaveEvent

CreateFileEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

AppendBlockEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

ExecLoadEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

DeleteFileEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

NewLoadEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

RandEvent(RandEvent)

Tuple Fields

UserVarEvent(UserVarEvent<'a>)

Tuple Fields

0: UserVarEvent<'a>

FormatDescriptionEvent(FormatDescriptionEvent<'a>)

Tuple Fields

XidEvent(XidEvent)

Tuple Fields

BeginLoadQueryEvent(BeginLoadQueryEvent<'a>)

Tuple Fields

ExecuteLoadQueryEvent(ExecuteLoadQueryEvent<'a>)

Tuple Fields

TableMapEvent(TableMapEvent<'a>)

Tuple Fields

PreGaWriteRowsEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

PreGaUpdateRowsEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

PreGaDeleteRowsEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Ignored by this implementation

IncidentEvent(IncidentEvent<'a>)

Tuple Fields

HeartbeatEvent

IgnorableEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

RowsQueryEvent(RowsQueryEvent<'a>)

Tuple Fields

GtidEvent(GtidEvent)

Tuple Fields

Not yet implemented.

AnonymousGtidEvent(AnonymousGtidEvent)

Tuple Fields

Not yet implemented.

PreviousGtidsEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Not yet implemented.

TransactionContextEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Not yet implemented.

ViewChangeEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Not yet implemented.

XaPrepareLogEvent(Cow<'a, [u8]>)

Tuple Fields

0: Cow<'a, [u8]>

Not yet implemented.

RowsEvent(RowsEventData<'a>)

Tuple Fields

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Serializes self into the buf.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Performs the conversion.

Performs the indexed conversion.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Should always be Self

Consumes the current HList and returns an HList with the requested shape. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.