pub struct EnabledDiscoveryPolicy { /* private fields */ }Implementations§
Source§impl EnabledDiscoveryPolicy
impl EnabledDiscoveryPolicy
pub const fn required_stamp_cost(&self) -> StampCost
pub const fn sources(&self) -> &DiscoverySourcePolicy
pub const fn auto_connect(&self) -> &AutoConnectPolicy
pub const fn auto_connect_gravity(&self) -> InterfaceGravity
pub const fn auto_connect_announces_to_internal(&self) -> bool
Trait Implementations§
Source§impl Clone for EnabledDiscoveryPolicy
impl Clone for EnabledDiscoveryPolicy
Source§fn clone(&self) -> EnabledDiscoveryPolicy
fn clone(&self) -> EnabledDiscoveryPolicy
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 EnabledDiscoveryPolicy
impl Debug for EnabledDiscoveryPolicy
Source§impl PartialEq for EnabledDiscoveryPolicy
impl PartialEq for EnabledDiscoveryPolicy
impl StructuralPartialEq for EnabledDiscoveryPolicy
Auto Trait Implementations§
impl Freeze for EnabledDiscoveryPolicy
impl RefUnwindSafe for EnabledDiscoveryPolicy
impl Send for EnabledDiscoveryPolicy
impl Sync for EnabledDiscoveryPolicy
impl Unpin for EnabledDiscoveryPolicy
impl UnsafeUnpin for EnabledDiscoveryPolicy
impl UnwindSafe for EnabledDiscoveryPolicy
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