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

Method phc

clock-bound/src/daemon/io.rs:188–193  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

186 }
187
188 pub fn phc(&self) -> Option<&Phc> {
189 self.phc.as_ref().and_then(|s| match &s.state {
190 SourceState::Initialized(phc) => Some(phc),
191 SourceState::Running => None,
192 })
193 }
194
195 /// Returns true if a PHC source exists (has been created).
196 pub fn phc_exists(&self) -> bool {

Callers 2

constructMethod · 0.45
phc_streamFunction · 0.45

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected