pub struct ManagerConfig {
pub relay_addr_generator: Box<dyn RelayAddressGenerator + Send + Sync>,
pub alloc_close_notify: Option<Sender<AllocationInfo>>,
}Expand description
ManagerConfig a bag of config params for Manager.
Fields§
§relay_addr_generator: Box<dyn RelayAddressGenerator + Send + Sync>§alloc_close_notify: Option<Sender<AllocationInfo>>Auto Trait Implementations§
impl !RefUnwindSafe for ManagerConfig
impl !UnwindSafe for ManagerConfig
impl Freeze for ManagerConfig
impl Send for ManagerConfig
impl Sync for ManagerConfig
impl Unpin for ManagerConfig
impl UnsafeUnpin for ManagerConfig
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