pub enum PolicyAction {
SetDiscovery(DiscoveryMode),
RequestDataPath {
peer: RendezvousToken,
role: NdpRole,
},
AbandonDataPath {
peer: RendezvousToken,
role: NdpRole,
},
OpenDataPlane {
peer: RendezvousToken,
role: NdpRole,
},
CloseDataPlane {
peer: RendezvousToken,
},
}Variants§
SetDiscovery(DiscoveryMode)
RequestDataPath
AbandonDataPath
OpenDataPlane
CloseDataPlane
Fields
§
peer: RendezvousTokenTrait Implementations§
Source§impl Clone for PolicyAction
impl Clone for PolicyAction
Source§fn clone(&self) -> PolicyAction
fn clone(&self) -> PolicyAction
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 PolicyAction
Source§impl Debug for PolicyAction
impl Debug for PolicyAction
impl Eq for PolicyAction
Source§impl PartialEq for PolicyAction
impl PartialEq for PolicyAction
impl StructuralPartialEq for PolicyAction
Auto Trait Implementations§
impl Freeze for PolicyAction
impl RefUnwindSafe for PolicyAction
impl Send for PolicyAction
impl Sync for PolicyAction
impl Unpin for PolicyAction
impl UnsafeUnpin for PolicyAction
impl UnwindSafe for PolicyAction
Blanket Implementations§
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