Skip to main content

held

Function held 

Source
pub fn held() -> Option<LeaseDocument>
Expand description

The lease this process holds and has published: None in a process that serves nothing.

// a process that has published no lease holds none
assert!(majordomus_cli::lease::held().is_none());