Struct mysql_common::binlog::events::FormatDescriptionEvent[][src]

pub struct FormatDescriptionEvent<'a> { /* fields omitted */ }
Expand description

A format description event is the first event of a binlog for binlog-version 4.

It describes how the other events are layed out.

Implementations

Length of a server version string.

Offset of a server version string.

Length of a query event post-header, where 3.23, 4.x and 5.0 agree.

Length of a query event post-header, where 5.0 differs: 2 for length of N-bytes vars.

Length of a stop event post-header.

Length of a start event post-header.

Length of a rotate event post-header.

Length of an intvar event post-header.

Length of an append block event post-header.

Length of a delete file event post-header.

Length of a rand event post-header.

Length of a user var event post-header.

Length of a fde event post-header.

Length of a xid event post-header.

Length of a begin load query event post-header.

Length of a v1 rows query event post-header.

Length of a table map event post-header.

Length of an execute load query event extra header.

Length of an execute load query event post-header.

Length of an incident event post-header.

Length of a heartbeat event post-header.

Length of an ignorable event post-header.

Length of a rows events post-header.

Length of a gtid events post-header.

Length of an incident event post-header.

Length of a view change event post-header.

Length of a xa prepare event post-header.

Creates new instance.

Defines the server_version field.

Defines the server_version field.

Defines the server_version field.

Defines the server_version field.

Defines the server_version field.

Returns the binlog_version field value.

Returns the server_version field value.

server_version is the version of the MySQL Server that created the binlog.

Returns the server_version field value as string (lossy converted).

Returns the create_timestamp field value.

created_timestamp is the creation timestamp, if non-zero, is the time in seconds when this event was created.

Returns the event_header_length field value.

event_header_length is the length of the event header. This value includes the extra_headers field, so this header length is 19.

Returns the event_type_header_lengths field value.

event_type_header_lengths is the lengths for the fixed data part of each event. An array indexed by Binlog Event Type - 1.

Returns the footer field value.

Returns a parsed MySql version.

Returns header length for the given event type, if defined.

Returns a 'static version of self.

Trait Implementations

An event type, associated with this struct (if any).

Returns serialized length of this struct in bytes. Read more

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

Size hint of a serialized value (in bytes), if it’s constant.

Some structs defines deserialization in the context of another value. Read more

Deserializes self from the given buf. 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.