pub struct Easy2Handle<H> { /* private fields */ }
Expand description

Wrapper around an easy handle while it’s owned by a multi handle.

Once an easy handle has been added to a multi handle then it can no longer be used via perform. This handle is also used to remove the easy handle from the multi handle when desired.

Implementations

Acquires a reference to the underlying handler for events.

Acquires a reference to the underlying handler for events.

Same as EasyHandle::set_token

Same as Easy2::filetime.

Same as Easy2::os_errno.

Same as Easy2::local_ip.

Same as Easy2::cookies.

Unpause reading on a connection.

Using this function, you can explicitly unpause a connection that was previously paused.

A connection can be paused by letting the read or the write callbacks return ReadError::Pause or WriteError::Pause.

The chance is high that you will get your write callback called before this function returns.

Unpause writing on a connection.

Using this function, you can explicitly unpause a connection that was previously paused.

A connection can be paused by letting the read or the write callbacks return ReadError::Pause or WriteError::Pause. A write callback that returns pause signals to the library that it couldn’t take care of any data at all, and that data will then be delivered again to the callback when the writing is later unpaused.

Get a pointer to the raw underlying CURL handle.

Trait Implementations

Formats the value using the given formatter. Read more

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.