[][src]Struct spamassassin_milter::ConfigBuilder

pub struct ConfigBuilder { /* fields omitted */ }

A builder for SpamAssassin Milter configuration objects.

Methods

impl ConfigBuilder[src]

pub fn set_has_trusted_networks(&mut self, value: bool) -> &mut Self[src]

pub fn add_trusted_network(&mut self, value: IpNet) -> &mut Self[src]

pub fn set_auth_untrusted(&mut self, value: bool) -> &mut Self[src]

pub fn set_spamc_args(&mut self, value: Vec<String>) -> &mut Self[src]

pub fn set_max_message_size(&mut self, value: usize) -> &mut Self[src]

pub fn set_dry_run(&mut self, value: bool) -> &mut Self[src]

pub fn set_reject_spam(&mut self, value: bool) -> &mut Self[src]

pub fn set_preserve_headers(&mut self, value: bool) -> &mut Self[src]

pub fn set_preserve_body(&mut self, value: bool) -> &mut Self[src]

pub fn set_verbose(&mut self, value: bool) -> &mut Self[src]

pub fn build(self) -> Config[src]

Trait Implementations

impl Clone for ConfigBuilder[src]

impl Debug for ConfigBuilder[src]

impl Default for ConfigBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.