Struct curl::multi::Message [] [src]

pub struct Message<'multi> { /* fields omitted */ }

Message from the messages function of a multi handle.

Currently only indicates whether a transfer is done.

Methods

impl<'multi> Message<'multi>
[src]

[src]

If this message indicates that a transfer has finished, returns the result of the transfer in Some.

If the message doesn't indicate that a transfer has finished, then None is returned.

[src]

Returns whether this easy message was for the specified easy handle or not.

[src]

Same as is_for, but for Easy2Handle.

[src]

Returns the token associated with the easy handle that this message represents a completion for.

This function will return the token assigned with EasyHandle::set_token. This reads the CURLINFO_PRIVATE field of the underlying *mut CURL.

Trait Implementations

impl<'a> Debug for Message<'a>
[src]

[src]

Formats the value using the given formatter.