pub struct EscalationProcedures { /* private fields */ }Expand description
Escalation procedures
Implementations§
Source§impl EscalationProcedures
impl EscalationProcedures
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a EscalationProcedures with default sub-components / empty registries.
Sourcepub fn add_escalation_rule(&mut self, rule: EscalationRule)
pub fn add_escalation_rule(&mut self, rule: EscalationRule)
Register escalation_rule (keyed by its id field).
Sourcepub fn get_escalation_rule(&self, rule_id: &str) -> Option<&EscalationRule>
pub fn get_escalation_rule(&self, rule_id: &str) -> Option<&EscalationRule>
Fetch the registered escalation_rule by id, or None.
Sourcepub fn escalation_matrix(&self) -> &EscalationMatrix
pub fn escalation_matrix(&self) -> &EscalationMatrix
Borrow the EscalationMatrix sub-component.
Auto Trait Implementations§
impl Freeze for EscalationProcedures
impl RefUnwindSafe for EscalationProcedures
impl Send for EscalationProcedures
impl Sync for EscalationProcedures
impl Unpin for EscalationProcedures
impl UnsafeUnpin for EscalationProcedures
impl UnwindSafe for EscalationProcedures
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more