pub fn gate_method(
method: Option<DavMethod>,
snapshot: &DavCapabilitySnapshot,
) -> Result<DavMethod, DavMethodGateError>Expand description
Gates known and unknown methods through the snapshot’s protocol dispatch projection.
§Errors
Returns DavMethodGateError when the method is unknown or disallowed by the snapshot.