pub struct SubscribeOpts {
pub bootstrap: BTreeSet<NodeId>,
pub subscription_capacity: usize,
}
Available on crate feature
rpc
only.Expand description
Options for subscribing to a gossip topic.
Fields§
§bootstrap: BTreeSet<NodeId>
Bootstrap nodes to connect to.
subscription_capacity: usize
Subscription capacity.
Trait Implementations§
Source§impl Clone for SubscribeOpts
impl Clone for SubscribeOpts
Source§fn clone(&self) -> SubscribeOpts
fn clone(&self) -> SubscribeOpts
Returns a copy of the value. Read more
1.0.0 · 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 SubscribeOpts
impl Debug for SubscribeOpts
Auto Trait Implementations§
impl Freeze for SubscribeOpts
impl RefUnwindSafe for SubscribeOpts
impl Send for SubscribeOpts
impl Sync for SubscribeOpts
impl Unpin for SubscribeOpts
impl UnwindSafe for SubscribeOpts
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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