MCPcopy Create free account
hub / github.com/aws/clock-bound / remove_ntp_source

Method remove_ntp_source

clock-bound/src/daemon/receiver_stream.rs:52–56  ·  view source on GitHub ↗

Removes an ntp source from `ntp_sources`

(&mut self, id: &SocketAddr)

Source from the content-addressed store, hash-verified

50
51 /// Removes an ntp source from `ntp_sources`
52 pub fn remove_ntp_source(&mut self, id: &SocketAddr) {
53 if self.ntp_sources.contains_key(id) {
54 self.ntp_sources.remove(id);
55 }
56 }
57
58 /// Creates an aggregated stream of results from all `SourceIO` component `Receivers`.
59 fn get_aggregate_stream(&mut self) -> SelectAll<EventStream<'_>> {

Callers 1

remove_ntp_sourceFunction · 0.80

Calls

no outgoing calls

Tested by 1

remove_ntp_sourceFunction · 0.64