Struct gmime::MultipartSigned[]

pub struct MultipartSigned(_, _);

A multipart/signed MIME part.

Implements

MultipartSignedExt, MultipartExt, ObjectExt

Methods

impl MultipartSigned
[src]

Creates a new MIME multipart/signed object.

Returns

an empty MIME multipart/signed object.

Attempts to sign the content MIME part with userid's private key using the ctx signing context. If successful, a new multipart/signed object is returned.

ctx

a CryptoContext

entity

MIME part to sign

userid

user id to sign with

Returns

a new MultipartSigned object on success or None on fail. If signing fails, an exception will be set on err to provide information as to why the failure occurred.

Trait Implementations

impl Clone for MultipartSigned

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MultipartSigned

Formats the value using the given formatter. Read more

impl Hash for MultipartSigned

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for MultipartSigned

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for MultipartSigned

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MultipartSigned

impl IsA<Multipart> for MultipartSigned

impl IsA<Object> for MultipartSigned

impl IsA<Object> for MultipartSigned

impl Default for MultipartSigned
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for MultipartSigned

impl !Sync for MultipartSigned