pub struct Runtime { /* private fields */ }
Implementations§
source§impl Runtime
impl Runtime
pub fn new() -> Self
pub fn set_cpu_limit(&mut self, size: usize)
pub fn with_cpu_limit(self, size: usize) -> Self
pub fn set_max_nested_includes(&mut self, size: usize)
pub fn with_max_nested_includes(self, size: usize) -> Self
pub fn set_max_redirects(&mut self, size: usize)
pub fn with_max_redirects(self, size: usize) -> Self
pub fn set_max_out_messages(&mut self, size: usize)
pub fn with_max_out_messages(self, size: usize) -> Self
pub fn set_max_received_headers(&mut self, size: usize)
pub fn with_max_received_headers(self, size: usize) -> Self
pub fn set_max_variable_size(&mut self, size: usize)
pub fn with_max_variable_size(self, size: usize) -> Self
pub fn set_max_header_size(&mut self, size: usize)
pub fn with_max_header_size(self, size: usize) -> Self
pub fn set_default_vacation_expiry(&mut self, expiry: u64)
pub fn with_default_vacation_expiry(self, expiry: u64) -> Self
pub fn set_default_duplicate_expiry(&mut self, expiry: u64)
pub fn with_default_duplicate_expiry(self, expiry: u64) -> Self
pub fn set_capability(&mut self, capability: impl Into<Capability>)
pub fn with_capability(self, capability: impl Into<Capability>) -> Self
pub fn unset_capability(&mut self, capability: impl Into<Capability>)
pub fn without_capability(self, capability: impl Into<Capability>) -> Self
pub fn without_capabilities( self, capabilities: impl IntoIterator<Item = impl Into<Capability>> ) -> Self
pub fn set_protected_header( &mut self, header_name: impl Into<Cow<'static, str>> )
pub fn with_protected_header( self, header_name: impl Into<Cow<'static, str>> ) -> Self
pub fn with_protected_headers( self, header_names: impl IntoIterator<Item = impl Into<Cow<'static, str>>> ) -> Self
pub fn set_env_variable( &mut self, name: impl Into<Cow<'static, str>>, value: impl Into<Variable> )
pub fn with_env_variable( self, name: impl Into<Cow<'static, str>>, value: impl Into<Cow<'static, str>> ) -> Self
pub fn set_medatata( &mut self, name: impl Into<Metadata<String>>, value: impl Into<Cow<'static, str>> )
pub fn with_metadata( self, name: impl Into<Metadata<String>>, value: impl Into<Cow<'static, str>> ) -> Self
pub fn set_valid_notification_uri(&mut self, uri: impl Into<Cow<'static, str>>)
pub fn with_valid_notification_uri( self, uri: impl Into<Cow<'static, str>> ) -> Self
pub fn with_valid_notification_uris( self, uris: impl IntoIterator<Item = impl Into<Cow<'static, str>>> ) -> Self
pub fn set_valid_ext_list(&mut self, name: impl Into<Cow<'static, str>>)
pub fn with_valid_ext_list(self, name: impl Into<Cow<'static, str>>) -> Self
pub fn set_vacation_use_orig_rcpt(&mut self, value: bool)
pub fn with_valid_ext_lists( self, lists: impl IntoIterator<Item = impl Into<Cow<'static, str>>> ) -> Self
pub fn with_vacation_use_orig_rcpt(self, value: bool) -> Self
pub fn set_vacation_default_subject( &mut self, value: impl Into<Cow<'static, str>> )
pub fn with_vacation_default_subject( self, value: impl Into<Cow<'static, str>> ) -> Self
pub fn set_vacation_subject_prefix( &mut self, value: impl Into<Cow<'static, str>> )
pub fn with_vacation_subject_prefix( self, value: impl Into<Cow<'static, str>> ) -> Self
pub fn set_local_hostname(&mut self, value: impl Into<Cow<'static, str>>)
pub fn with_local_hostname(self, value: impl Into<Cow<'static, str>>) -> Self
pub fn with_functions(self, fnc_map: &mut FunctionMap) -> Self
pub fn set_functions(&mut self, fnc_map: &mut FunctionMap)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more