pub struct ShellBuilder { /* private fields */ }Expand description
Builder for Shell.
Implementations§
Source§impl ShellBuilder
impl ShellBuilder
Sourcepub fn publish_timeout(&mut self, value: Duration) -> &mut Self
pub fn publish_timeout(&mut self, value: Duration) -> &mut Self
drop subscribers if they don’t consume updates after this timeout
Sourcepub fn resolve_timeout(&mut self, value: Duration) -> &mut Self
pub fn resolve_timeout(&mut self, value: Duration) -> &mut Self
module resolution from netidx will fail if it can’t subscribe before this time elapses
Sourcepub fn extra_builtin_modules(
&mut self,
value: FxHashMap<Path, ArcStr>,
) -> &mut Self
pub fn extra_builtin_modules( &mut self, value: FxHashMap<Path, ArcStr>, ) -> &mut Self
define extra loadable modules built into this binary
Sourcepub fn stdlib_modules(&mut self, value: BitFlags<Module>) -> &mut Self
pub fn stdlib_modules(&mut self, value: BitFlags<Module>) -> &mut Self
enable or disable features of the standard library
Sourcepub fn publisher(&mut self, value: Publisher) -> &mut Self
pub fn publisher(&mut self, value: Publisher) -> &mut Self
The netidx publisher to use. If you do not wish to use netidx you can use netidx::InternalOnly to create an internal netidx environment
Sourcepub fn subscriber(&mut self, value: Subscriber) -> &mut Self
pub fn subscriber(&mut self, value: Subscriber) -> &mut Self
The netidx subscriber to use. If you do not wish to use netidx you can use netidx::InternalOnly to create an internal netidx environment
Trait Implementations§
Source§impl Clone for ShellBuilder
impl Clone for ShellBuilder
Source§fn clone(&self) -> ShellBuilder
fn clone(&self) -> ShellBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ShellBuilder
impl !RefUnwindSafe for ShellBuilder
impl Send for ShellBuilder
impl Sync for ShellBuilder
impl Unpin for ShellBuilder
impl !UnwindSafe for ShellBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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