pub enum LinkRefusal {
Binding(SubjectBindingError),
Export(AccessDecisionError),
Import(AccessDecisionError),
}Expand description
Why a message did not cross, naming the end that refused it.
Variants§
Binding(SubjectBindingError)
The subject could not be bound (empty, whitespace, or a pattern).
Export(AccessDecisionError)
The exporting machine’s pass holds no reaching link_export.
Import(AccessDecisionError)
The importing machine’s pass holds no reaching link_import.
Trait Implementations§
Source§impl Debug for LinkRefusal
impl Debug for LinkRefusal
Source§impl Display for LinkRefusal
impl Display for LinkRefusal
impl Eq for LinkRefusal
Source§impl Error for LinkRefusal
impl Error for LinkRefusal
1.30.0 · 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 PartialEq for LinkRefusal
impl PartialEq for LinkRefusal
impl StructuralPartialEq for LinkRefusal
Auto Trait Implementations§
impl Freeze for LinkRefusal
impl RefUnwindSafe for LinkRefusal
impl Send for LinkRefusal
impl Sync for LinkRefusal
impl Unpin for LinkRefusal
impl UnsafeUnpin for LinkRefusal
impl UnwindSafe for LinkRefusal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.