Skip to main content

Params

Struct Params 

Source
pub struct Params { /* private fields */ }
Expand description

Control runner args.

Auto Trait Implementations§

§

impl !RefUnwindSafe for Params

§

impl !UnwindSafe for Params

§

impl Forget for Params

§

impl Freeze for Params
where *const u8 is !null: Freeze, PhantomData<u8>: Freeze, PhantomData<String>: Freeze, PhantomData<IpNet>: Freeze, PhantomData<u16>: Freeze, *const ArcInner<Atomic<bool>> is !null: Freeze, PhantomData<ArcInner<Atomic<bool>>>: Freeze, *const ArcInner<dyn LocalApi> is !null: Freeze, PhantomData<ArcInner<dyn LocalApi>>: Freeze, *const ArcInner<Chan<Signal<MessageBus>, Semaphore>> is !null: Freeze, PhantomData<ArcInner<Chan<Signal<MessageBus>, Semaphore>>>: Freeze, *const ArcInner<Chan<Signal<MessageBus>, Semaphore>> is !null: Freeze, PhantomData<ArcInner<Chan<Signal<MessageBus>, Semaphore>>>: Freeze, *const ArcInner<AbortInner> is !null: Freeze, PhantomData<ArcInner<AbortInner>>: Freeze, *const ArcInner<Mutex<HashMap<ActorId, Link>>> is !null: Freeze, PhantomData<ArcInner<Mutex<HashMap<ActorId, Link>>>>: Freeze, *const ArcInner<SetOnce<Result<(), PanicError>>> is !null: Freeze, PhantomData<ArcInner<SetOnce<Result<(), PanicError>>>>: Freeze, *const ArcInner<NodeState> is !null: Freeze, PhantomData<ArcInner<NodeState>>: Freeze, *const ArcInner<Shared<bool>> is !null: Freeze, PhantomData<ArcInner<Shared<bool>>>: Freeze, *const ArcInner<Shared<Option<ExitNodeSelector>>> is !null: Freeze, PhantomData<ArcInner<Shared<Option<ExitNodeSelector>>>>: Freeze, *const ArcInner<Vec<IpNet>> is !null: Freeze, PhantomData<ArcInner<Vec<IpNet>>>: Freeze, *const ArcInner<Vec<u16>> is !null: Freeze, PhantomData<ArcInner<Vec<u16>>>: Freeze, *const ArcInner<TaildropStore> is !null: Freeze, PhantomData<ArcInner<TaildropStore>>: Freeze, *const ArcInner<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync> is !null: Freeze, PhantomData<ArcInner<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync>>: Freeze, *const ArcInner<Mutex<Option<Sender<IngressConn>>>> is !null: Freeze, PhantomData<ArcInner<Mutex<Option<Sender<IngressConn>>>>>: Freeze, *const ArcInner<DatapathActivityInner> is !null: Freeze, PhantomData<ArcInner<DatapathActivityInner>>: Freeze, *const ArcInner<PeerActivityInner> is !null: Freeze, PhantomData<ArcInner<PeerActivityInner>>: Freeze, *const ArcInner<Shared<DeviceState>> is !null: Freeze, PhantomData<ArcInner<Shared<DeviceState>>>: Freeze, *const ArcInner<Shared<Option<Arc<Authority>>>> is !null: Freeze, PhantomData<ArcInner<Shared<Option<Arc<Authority>>>>>: Freeze, *const ArcInner<Shared<Option<RegionId>>> is !null: Freeze, PhantomData<ArcInner<Shared<Option<RegionId>>>>: Freeze,

§

impl Move for Params

§

impl Send for Params
where RawVecInner: Send, Arc<Atomic<bool>>: Send, Arc<dyn LocalApi>: Send, Arc<Chan<Signal<MessageBus>, Semaphore>>: Send, Arc<Chan<Signal<MessageBus>, Semaphore>>: Send, Arc<AbortInner>: Send, Arc<Mutex<HashMap<ActorId, Link>>>: Send, Arc<SetOnce<Result<(), PanicError>>>: Send, Arc<NodeState>: Send, Arc<Shared<bool>>: Send, Arc<Shared<Option<ExitNodeSelector>>>: Send, Arc<Vec<IpNet>>: Send, Arc<Vec<u16>>: Send, Arc<TaildropStore>: Send, Arc<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync>: Send, Arc<Mutex<Option<Sender<IngressConn>>>>: Send, Arc<DatapathActivityInner>: Send, Arc<PeerActivityInner>: Send, Arc<Shared<DeviceState>>: Send, Arc<Shared<Option<Arc<Authority>>>>: Send, Arc<Shared<Option<RegionId>>>: Send,

§

impl Sync for Params
where RawVecInner: Sync, Arc<Atomic<bool>>: Sync, Arc<dyn LocalApi>: Sync, Arc<Chan<Signal<MessageBus>, Semaphore>>: Sync, Arc<Chan<Signal<MessageBus>, Semaphore>>: Sync, Arc<AbortInner>: Sync, Arc<Mutex<HashMap<ActorId, Link>>>: Sync, Arc<SetOnce<Result<(), PanicError>>>: Sync, Arc<NodeState>: Sync, Arc<Shared<bool>>: Sync, Arc<Shared<Option<ExitNodeSelector>>>: Sync, Arc<Vec<IpNet>>: Sync, Arc<Vec<u16>>: Sync, Arc<TaildropStore>: Sync, Arc<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync>: Sync, Arc<Mutex<Option<Sender<IngressConn>>>>: Sync, Arc<DatapathActivityInner>: Sync, Arc<PeerActivityInner>: Sync, Arc<Shared<DeviceState>>: Sync, Arc<Shared<Option<Arc<Authority>>>>: Sync, Arc<Shared<Option<RegionId>>>: Sync,

§

impl Unpin for Params
where *const u8 is !null: Unpin, Arc<Atomic<bool>>: Unpin, Arc<dyn LocalApi>: Unpin, Arc<Chan<Signal<MessageBus>, Semaphore>>: Unpin, Arc<Chan<Signal<MessageBus>, Semaphore>>: Unpin, Arc<AbortInner>: Unpin, Arc<Mutex<HashMap<ActorId, Link>>>: Unpin, Arc<SetOnce<Result<(), PanicError>>>: Unpin, Arc<NodeState>: Unpin, Arc<Shared<bool>>: Unpin, Arc<Shared<Option<ExitNodeSelector>>>: Unpin, Arc<Vec<IpNet>>: Unpin, Arc<Vec<u16>>: Unpin, Arc<TaildropStore>: Unpin, Arc<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync>: Unpin, Arc<Mutex<Option<Sender<IngressConn>>>>: Unpin, Arc<DatapathActivityInner>: Unpin, Arc<PeerActivityInner>: Unpin, Arc<Shared<DeviceState>>: Unpin, Arc<Shared<Option<Arc<Authority>>>>: Unpin, Arc<Shared<Option<RegionId>>>: Unpin,

§

impl UnsafeUnpin for Params
where *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, PhantomData<String>: UnsafeUnpin, PhantomData<IpNet>: UnsafeUnpin, PhantomData<u16>: UnsafeUnpin, *const ArcInner<Atomic<bool>> is !null: UnsafeUnpin, PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin, *const ArcInner<dyn LocalApi> is !null: UnsafeUnpin, PhantomData<ArcInner<dyn LocalApi>>: UnsafeUnpin, *const ArcInner<Chan<Signal<MessageBus>, Semaphore>> is !null: UnsafeUnpin, PhantomData<ArcInner<Chan<Signal<MessageBus>, Semaphore>>>: UnsafeUnpin, *const ArcInner<Chan<Signal<MessageBus>, Semaphore>> is !null: UnsafeUnpin, PhantomData<ArcInner<Chan<Signal<MessageBus>, Semaphore>>>: UnsafeUnpin, *const ArcInner<AbortInner> is !null: UnsafeUnpin, PhantomData<ArcInner<AbortInner>>: UnsafeUnpin, *const ArcInner<Mutex<HashMap<ActorId, Link>>> is !null: UnsafeUnpin, PhantomData<ArcInner<Mutex<HashMap<ActorId, Link>>>>: UnsafeUnpin, *const ArcInner<SetOnce<Result<(), PanicError>>> is !null: UnsafeUnpin, PhantomData<ArcInner<SetOnce<Result<(), PanicError>>>>: UnsafeUnpin, *const ArcInner<NodeState> is !null: UnsafeUnpin, PhantomData<ArcInner<NodeState>>: UnsafeUnpin, *const ArcInner<Shared<bool>> is !null: UnsafeUnpin, PhantomData<ArcInner<Shared<bool>>>: UnsafeUnpin, *const ArcInner<Shared<Option<ExitNodeSelector>>> is !null: UnsafeUnpin, PhantomData<ArcInner<Shared<Option<ExitNodeSelector>>>>: UnsafeUnpin, *const ArcInner<Vec<IpNet>> is !null: UnsafeUnpin, PhantomData<ArcInner<Vec<IpNet>>>: UnsafeUnpin, *const ArcInner<Vec<u16>> is !null: UnsafeUnpin, PhantomData<ArcInner<Vec<u16>>>: UnsafeUnpin, *const ArcInner<TaildropStore> is !null: UnsafeUnpin, PhantomData<ArcInner<TaildropStore>>: UnsafeUnpin, *const ArcInner<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync> is !null: UnsafeUnpin, PhantomData<ArcInner<dyn Fn() -> Arc<dyn PortMapper> + Send + Sync>>: UnsafeUnpin, *const ArcInner<Mutex<Option<Sender<IngressConn>>>> is !null: UnsafeUnpin, PhantomData<ArcInner<Mutex<Option<Sender<IngressConn>>>>>: UnsafeUnpin, *const ArcInner<DatapathActivityInner> is !null: UnsafeUnpin, PhantomData<ArcInner<DatapathActivityInner>>: UnsafeUnpin, *const ArcInner<PeerActivityInner> is !null: UnsafeUnpin, PhantomData<ArcInner<PeerActivityInner>>: UnsafeUnpin, *const ArcInner<Shared<DeviceState>> is !null: UnsafeUnpin, PhantomData<ArcInner<Shared<DeviceState>>>: UnsafeUnpin, *const ArcInner<Shared<Option<Arc<Authority>>>> is !null: UnsafeUnpin, PhantomData<ArcInner<Shared<Option<Arc<Authority>>>>>: UnsafeUnpin, *const ArcInner<Shared<Option<RegionId>>> is !null: UnsafeUnpin, PhantomData<ArcInner<Shared<Option<RegionId>>>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast for T
where T: Any,

Source§

fn into_any(self: Box<T>) -> Box<dyn Any>

Converts Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Converts Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
Source§

fn as_any(&self) -> &(dyn Any + 'static)

Converts &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
Source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Converts &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
Source§

impl<T> DowncastSend for T
where T: Any + Send,

Source§

fn into_any_send(self: Box<T>) -> Box<dyn Any + Send>

Converts Box<Trait> (where Trait: DowncastSend) to Box<dyn Any + Send>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

Source§

fn into_any_sync(self: Box<T>) -> Box<dyn Any + Send + Sync>

Converts Box<Trait> (where Trait: DowncastSync) to Box<dyn Any + Send + Sync>, which can then be downcast into Box<ConcreteType> where ConcreteType implements Trait.
Source§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync> ⓘ

Converts Arc<Trait> (where Trait: DowncastSync) to Arc<Any>, which can then be downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<A, T> DynMessage<A> for T
where A: Actor + Message<T>, T: Send + 'static,

Source§

fn handle_dyn<'a>( self: Box<T>, state: &'a mut A, actor_ref: ActorRef<A>, tx: Option<Sender<Result<Box<dyn Any + Send>, SendError<Box<dyn Any + Send>, Box<dyn Any + Send>>>>>, stop: &'a mut bool, ) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn ReplyError>>> + Send + 'a>>

Handles the dyn message with the provided actor state, ref, and reply sender.
Source§

fn as_any(self: Box<T>) -> Box<dyn Any>

Casts the type to a Box<dyn Any>.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, S> SimdFrom<T, S> for T
where S: Simd,

Source§

fn simd_from(_simd: S, value: T) -> T

Source§

impl<F, T, S> SimdInto<T, S> for F
where T: SimdFrom<F, S>, S: Simd,

Source§

fn simd_into(self, simd: S) -> T

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more