pub struct MappingServiceState {
pub config: MappingServiceConfig,
pub mappings: HashMap<String, MappingConfig>,
pub stats: SimulatorStats,
pub started_at: Instant,
pub ready: bool,
}Expand description
Internal state for Mapping Service Simulator
Fields§
§config: MappingServiceConfig§mappings: HashMap<String, MappingConfig>§stats: SimulatorStats§started_at: Instant§ready: boolImplementations§
Source§impl MappingServiceState
impl MappingServiceState
pub fn new(config: MappingServiceConfig) -> Self
Auto Trait Implementations§
impl Freeze for MappingServiceState
impl RefUnwindSafe for MappingServiceState
impl Send for MappingServiceState
impl Sync for MappingServiceState
impl Unpin for MappingServiceState
impl UnsafeUnpin for MappingServiceState
impl UnwindSafe for MappingServiceState
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