pub struct Context { /* private fields */ }
Expand description

Contains information about the current execution context

Implementations

Returns the length in bytes of the output buffer. This is the maximum size of the data that can be returned by the extension.

👎Deprecated since 1.8.0:

Use callback_data instead. This function may be removed in future versions.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.