pub struct CtlState {Show 21 fields
pub started_at: Instant,
pub server_mode: String,
pub server_config: Option<ServerConfigSnapshot>,
pub server_config_schema: Option<ServerConfigSchemaSnapshot>,
pub server_config_status: ServerConfigStatusState,
pub server_config_validator: Option<ServerConfigValidator>,
pub server_config_mutator: Option<ServerConfigMutator>,
pub identity_hash: Option<[u8; 16]>,
pub identity: Option<Identity>,
pub announces: VecDeque<AnnounceRecord>,
pub packets: VecDeque<PacketRecord>,
pub proofs: VecDeque<ProofRecord>,
pub link_events: VecDeque<LinkEventRecord>,
pub resource_events: VecDeque<ResourceEventRecord>,
pub process_events: VecDeque<ProcessEventRecord>,
pub process_logs: HashMap<String, VecDeque<ProcessLogRecord>>,
pub destinations: HashMap<[u8; 16], DestinationEntry>,
pub processes: HashMap<String, ManagedProcessState>,
pub control_tx: Option<Sender<ProcessControlCommand>>,
pub control_plane_config: Option<ControlPlaneConfigHandle>,
pub node_handle: Option<Arc<Mutex<Option<RnsNode>>>>,
}Fields§
§started_at: Instant§server_mode: String§server_config: Option<ServerConfigSnapshot>§server_config_schema: Option<ServerConfigSchemaSnapshot>§server_config_status: ServerConfigStatusState§server_config_validator: Option<ServerConfigValidator>§server_config_mutator: Option<ServerConfigMutator>§identity_hash: Option<[u8; 16]>§identity: Option<Identity>§announces: VecDeque<AnnounceRecord>§packets: VecDeque<PacketRecord>§proofs: VecDeque<ProofRecord>§link_events: VecDeque<LinkEventRecord>§resource_events: VecDeque<ResourceEventRecord>§process_events: VecDeque<ProcessEventRecord>§process_logs: HashMap<String, VecDeque<ProcessLogRecord>>§destinations: HashMap<[u8; 16], DestinationEntry>§processes: HashMap<String, ManagedProcessState>§control_tx: Option<Sender<ProcessControlCommand>>§control_plane_config: Option<ControlPlaneConfigHandle>§node_handle: Option<Arc<Mutex<Option<RnsNode>>>>Implementations§
Auto Trait Implementations§
impl Freeze for CtlState
impl !RefUnwindSafe for CtlState
impl Send for CtlState
impl Sync for CtlState
impl Unpin for CtlState
impl UnsafeUnpin for CtlState
impl !UnwindSafe for CtlState
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
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more