pub enum CancellationPolicy {
Reject,
Forward,
}Expand description
Required posture for out-of-band cancellation connections.
Forwarding cancellation is implemented by issue #36. Until then the only safe operational posture is an explicit rejection.
Variants§
Reject
Reject cancellation packets instead of silently routing them.
Forward
Resolve and forward cancellation using the configured registry.
Trait Implementations§
Source§impl Clone for CancellationPolicy
impl Clone for CancellationPolicy
Source§fn clone(&self) -> CancellationPolicy
fn clone(&self) -> CancellationPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CancellationPolicy
Source§impl Debug for CancellationPolicy
impl Debug for CancellationPolicy
impl Eq for CancellationPolicy
Source§impl PartialEq for CancellationPolicy
impl PartialEq for CancellationPolicy
impl StructuralPartialEq for CancellationPolicy
Auto Trait Implementations§
impl Freeze for CancellationPolicy
impl RefUnwindSafe for CancellationPolicy
impl Send for CancellationPolicy
impl Sync for CancellationPolicy
impl Unpin for CancellationPolicy
impl UnsafeUnpin for CancellationPolicy
impl UnwindSafe for CancellationPolicy
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