Trait gmime::MessagePartialExt[][src]

pub trait MessagePartialExt {
    fn get_id(&self) -> Option<String>;
fn get_number(&self) -> i32;
fn get_total(&self) -> i32; }

Trait containing all MessagePartial methods.

Implementors

MessagePartial

Required Methods

Gets the message/partial id parameter value.

Returns

the message/partial id or None on fail.

Gets the message/partial part number.

Returns

the message/partial part number or %-1 on fail.

Gets the total number of message/partial parts needed to reconstruct the original message.

Returns

the total number of message/partial parts needed to reconstruct the original message or -1 on fail.

Implementors