pub enum InterfaceDiscoveryPolicy {
Disabled,
Enabled(EnabledDiscoveryPolicy),
}Variants§
Disabled
Enabled(EnabledDiscoveryPolicy)
Implementations§
Source§impl InterfaceDiscoveryPolicy
impl InterfaceDiscoveryPolicy
pub fn enabled( required_stamp_cost: StampCost, sources: DiscoverySourcePolicy, auto_connect: AutoConnectPolicy, auto_connect_routing: AutoConnectRoutingPolicy, ) -> InterfaceDiscoveryPolicy
pub const fn enabled_policy(&self) -> Option<&EnabledDiscoveryPolicy>
Trait Implementations§
Source§impl Clone for InterfaceDiscoveryPolicy
impl Clone for InterfaceDiscoveryPolicy
Source§fn clone(&self) -> InterfaceDiscoveryPolicy
fn clone(&self) -> InterfaceDiscoveryPolicy
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 moreSource§impl Debug for InterfaceDiscoveryPolicy
impl Debug for InterfaceDiscoveryPolicy
Source§impl PartialEq for InterfaceDiscoveryPolicy
impl PartialEq for InterfaceDiscoveryPolicy
impl StructuralPartialEq for InterfaceDiscoveryPolicy
Auto Trait Implementations§
impl Freeze for InterfaceDiscoveryPolicy
impl RefUnwindSafe for InterfaceDiscoveryPolicy
impl Send for InterfaceDiscoveryPolicy
impl Sync for InterfaceDiscoveryPolicy
impl Unpin for InterfaceDiscoveryPolicy
impl UnsafeUnpin for InterfaceDiscoveryPolicy
impl UnwindSafe for InterfaceDiscoveryPolicy
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