pub struct GlobalConfig { /* private fields */ }Expand description
Configuration values that affect most or all the components of the service.
Implementations§
Source§impl GlobalConfig
impl GlobalConfig
Sourcepub fn log_error_details() -> bool
pub fn log_error_details() -> bool
Determine whether error logs should include detailed information about the error
Sourcepub fn buffer_size_limit() -> usize
pub fn buffer_size_limit() -> usize
Fetch the size limit for buffers within responses (in bytes). information about the error
Sourcepub fn allow_deprecated() -> bool
pub fn allow_deprecated() -> bool
Determine whether deprecated algorithms and key types are allowed during key generation
Trait Implementations§
Source§impl Debug for GlobalConfig
impl Debug for GlobalConfig
Source§impl Default for GlobalConfig
impl Default for GlobalConfig
Source§fn default() -> GlobalConfig
fn default() -> GlobalConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for GlobalConfig
impl RefUnwindSafe for GlobalConfig
impl Send for GlobalConfig
impl Sync for GlobalConfig
impl Unpin for GlobalConfig
impl UnwindSafe for GlobalConfig
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