pub enum RevocationEffect {
Withdraw {
pid: u64,
right: usize,
},
Close {
pid: u64,
reason: RevocationRefusal,
},
}Expand description
What applying an event asks the connection runtime to do.
Variants§
Withdraw
Retire the work of one lost right that did not admit the connection.
Close
Close the connection with a reason.
Implementations§
Trait Implementations§
Source§impl Clone for RevocationEffect
impl Clone for RevocationEffect
impl Copy for RevocationEffect
Source§impl Debug for RevocationEffect
impl Debug for RevocationEffect
impl Eq for RevocationEffect
Source§impl PartialEq for RevocationEffect
impl PartialEq for RevocationEffect
impl StructuralPartialEq for RevocationEffect
Auto Trait Implementations§
impl Freeze for RevocationEffect
impl RefUnwindSafe for RevocationEffect
impl Send for RevocationEffect
impl Sync for RevocationEffect
impl Unpin for RevocationEffect
impl UnsafeUnpin for RevocationEffect
impl UnwindSafe for RevocationEffect
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.