pub struct InclusionOptions {
pub grant: GrantPolicy,
pub pin: Option<u16>,
pub insecure: bool,
pub timeout: Option<Duration>,
}Expand description
How to include a node.
Fields§
§grant: GrantPolicyKeys to grant.
pin: Option<u16>The DSK PIN, if known up front; otherwise Event::ValidateDsk asks.
insecure: boolInclude without any security.
timeout: Option<Duration>How long to wait for a node (the configured default if None).
Trait Implementations§
Source§impl Clone for InclusionOptions
impl Clone for InclusionOptions
Source§impl Debug for InclusionOptions
impl Debug for InclusionOptions
Auto Trait Implementations§
impl Freeze for InclusionOptions
impl RefUnwindSafe for InclusionOptions
impl Send for InclusionOptions
impl Sync for InclusionOptions
impl Unpin for InclusionOptions
impl UnsafeUnpin for InclusionOptions
impl UnwindSafe for InclusionOptions
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