pub enum BrokerRefusal {
Decision(AccessDecisionError),
Named(&'static str),
Publish(ServiceEffectError),
}Expand description
A control call refused before its effect, or a failed punch publication.
Variants§
Decision(AccessDecisionError)
The caller’s pass did not grant this call.
Named(&'static str)
A named boundary or state refusal.
Publish(ServiceEffectError)
The publisher refused the instruction.
Trait Implementations§
Source§impl Debug for BrokerRefusal
impl Debug for BrokerRefusal
Source§impl Display for BrokerRefusal
impl Display for BrokerRefusal
Source§impl Error for BrokerRefusal
impl Error for BrokerRefusal
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<AccessDecisionError> for BrokerRefusal
impl From<AccessDecisionError> for BrokerRefusal
Source§fn from(source: AccessDecisionError) -> Self
fn from(source: AccessDecisionError) -> Self
Converts to this type from the input type.
Source§impl From<ServiceEffectError> for BrokerRefusal
impl From<ServiceEffectError> for BrokerRefusal
Source§fn from(source: ServiceEffectError) -> Self
fn from(source: ServiceEffectError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BrokerRefusal
impl RefUnwindSafe for BrokerRefusal
impl Send for BrokerRefusal
impl Sync for BrokerRefusal
impl Unpin for BrokerRefusal
impl UnsafeUnpin for BrokerRefusal
impl UnwindSafe for BrokerRefusal
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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