pub struct GXConfigBuilder<X: GXExt> { /* private fields */ }Expand description
Builder for GXConfig.
Implementations§
Source§impl<X: GXExt> GXConfigBuilder<X>
impl<X: GXExt> GXConfigBuilder<X>
Sourcepub fn resolve_timeout(self, value: Duration) -> Self
pub fn resolve_timeout(self, value: Duration) -> Self
The subscribe timeout to use when resolving modules in netidx. Resolution will fail if the subscription does not succeed before this timeout elapses.
Sourcepub fn publish_timeout(self, value: Duration) -> Self
pub fn publish_timeout(self, value: Duration) -> Self
The publish timeout to use when sending published batches. Default None.
Sourcepub fn ctx(self, value: ExecCtx<GXRt<X>, X::UserEvent>) -> Self
pub fn ctx(self, value: ExecCtx<GXRt<X>, X::UserEvent>) -> Self
The execution context with any builtins already registered
Sourcepub fn resolvers(self, value: Vec<ModuleResolver>) -> Self
pub fn resolvers(self, value: Vec<ModuleResolver>) -> Self
The set of module resolvers to use when resolving loaded modules
Trait Implementations§
Auto Trait Implementations§
impl<X> !Freeze for GXConfigBuilder<X>
impl<X> !RefUnwindSafe for GXConfigBuilder<X>
impl<X> Send for GXConfigBuilder<X>
impl<X> Sync for GXConfigBuilder<X>
impl<X> Unpin for GXConfigBuilder<X>where
X: Unpin,
impl<X> !UnwindSafe for GXConfigBuilder<X>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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