Struct spamassassin_milter::ConfigBuilder [−][src]
A builder for SpamAssassin Milter configuration objects.
Implementations
impl ConfigBuilder
[src]
pub fn milter_debug_level(&mut self, value: i32) -> &mut Self
[src]
pub fn use_trusted_networks(&mut self, value: bool) -> &mut Self
[src]
pub fn trusted_network(&mut self, net: IpNet) -> &mut Self
[src]
pub fn auth_untrusted(&mut self, value: bool) -> &mut Self
[src]
pub fn spamc_args<I, S>(&mut self, args: I) -> &mut Self where
I: IntoIterator<Item = S>,
S: AsRef<str>,
[src]
I: IntoIterator<Item = S>,
S: AsRef<str>,
pub fn max_message_size(&mut self, value: usize) -> &mut Self
[src]
pub fn dry_run(&mut self, value: bool) -> &mut Self
[src]
pub fn reject_spam(&mut self, value: bool) -> &mut Self
[src]
pub fn reply_code(&mut self, value: String) -> &mut Self
[src]
pub fn reply_status_code(&mut self, value: String) -> &mut Self
[src]
pub fn reply_text(&mut self, value: String) -> &mut Self
[src]
pub fn preserve_headers(&mut self, value: bool) -> &mut Self
[src]
pub fn preserve_body(&mut self, value: bool) -> &mut Self
[src]
pub fn verbose(&mut self, value: bool) -> &mut Self
[src]
pub fn build(self) -> Config
[src]
Trait Implementations
impl Clone for ConfigBuilder
[src]
fn clone(&self) -> ConfigBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConfigBuilder
[src]
impl Default for ConfigBuilder
[src]
impl Eq for ConfigBuilder
[src]
impl PartialEq<ConfigBuilder> for ConfigBuilder
[src]
fn eq(&self, other: &ConfigBuilder) -> bool
[src]
fn ne(&self, other: &ConfigBuilder) -> bool
[src]
impl StructuralEq for ConfigBuilder
[src]
impl StructuralPartialEq for ConfigBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,