Function snarkos_metrics::try_recorder [−][src]
pub fn try_recorder() -> Option<&'static (dyn Recorder + 'static)>
Expand description
Returns a reference to the recorder.
If a recorder has not been set, returns None
.
pub fn try_recorder() -> Option<&'static (dyn Recorder + 'static)>
Returns a reference to the recorder.
If a recorder has not been set, returns None
.