Display any/all active QUORUM callbacks for this [Handle], see [DispatchFlags] for details
(handle: &Handle, flags: DispatchFlags)
| 243 | |
| 244 | /// Display any/all active QUORUM callbacks for this [Handle], see [DispatchFlags] for details |
| 245 | pub fn dispatch(handle: &Handle, flags: DispatchFlags) -> Result<()> { |
| 246 | let res = unsafe { ffi::quorum_dispatch(handle.quorum_handle, flags as u32) }; |
| 247 | if res == ffi::CS_OK { |
| 248 | Ok(()) |
| 249 | } else { |
| 250 | Err(CsError::from_c(res)) |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | /// Return the quorate status of the cluster |
| 255 | pub fn getquorate(handle: &Handle) -> Result<bool> { |
nothing calls this directly
no test coverage detected