Struct pgdo::cluster::resource::ClusterFree
source · pub struct ClusterFree<'a> { /* private fields */ }Implementations§
source§impl<'a> ClusterFree<'a>
impl<'a> ClusterFree<'a>
When the cluster is not locked, all one can do is check for its existence and if it is running. However, be careful of TOCTOU errors if you’re using this for more than informational purposes.
pub fn exists(&self) -> Result<bool, ClusterError>
pub fn running(&self) -> Result<bool, ClusterError>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ClusterFree<'a>
impl<'a> Send for ClusterFree<'a>
impl<'a> Sync for ClusterFree<'a>
impl<'a> Unpin for ClusterFree<'a>
impl<'a> UnwindSafe for ClusterFree<'a>
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