pub struct Config {
pub resource_types: ResourceType,
pub message_cache_size: usize,
}Fields§
§resource_types: ResourceType§message_cache_size: usizeImplementations§
Source§impl Config
impl Config
pub fn new() -> Self
pub fn resource_types(self, resource_types: ResourceType) -> Self
pub fn message_cache_size(self, message_cache_size: usize) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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