Struct curl::multi::EasyHandle [] [src]

pub struct EasyHandle<'multi> {
    // some fields omitted
}

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.

Methods

impl<'m> EasyHandle<'m>

fn remove(self) -> Result<Easy, MultiError>

Femove this easy handle from a multi session

Removes this easy handle from the multi handle. This will make the returned easy handle be removed from this multi handle's control.

When the easy handle has been removed from a multi stack, it is again perfectly legal to invoke perform on this easy handle.

Removing an easy handle while being used is perfectly legal and will effectively halt the transfer in progress involving that easy handle. All other easy handles and transfers will remain unaffected.

Trait Implementations

impl<'m> Drop for EasyHandle<'m>

fn drop(&mut self)