pub struct ClientConfigBuilder<TypedBuilderFields = ((HashSet<String>,), (), (), ())> { /* private fields */ }
Expand description
Builder for ClientConfig
instances.
See ClientConfig::builder()
for more info.
Implementations§
Source§impl<__subscriptions, __app_name, __buffer_capacity> ClientConfigBuilder<(__subscriptions, (), __app_name, __buffer_capacity)>
impl<__subscriptions, __app_name, __buffer_capacity> ClientConfigBuilder<(__subscriptions, (), __app_name, __buffer_capacity)>
Sourcepub fn endpoint(
self,
endpoint: Uri,
) -> ClientConfigBuilder<(__subscriptions, (Uri,), __app_name, __buffer_capacity)>
pub fn endpoint( self, endpoint: Uri, ) -> ClientConfigBuilder<(__subscriptions, (Uri,), __app_name, __buffer_capacity)>
Zeek WebSocket endpoint to connect to.
Source§impl<__subscriptions, __endpoint, __buffer_capacity> ClientConfigBuilder<(__subscriptions, __endpoint, (), __buffer_capacity)>
impl<__subscriptions, __endpoint, __buffer_capacity> ClientConfigBuilder<(__subscriptions, __endpoint, (), __buffer_capacity)>
Source§impl<__subscriptions, __endpoint, __app_name> ClientConfigBuilder<(__subscriptions, __endpoint, __app_name, ())>
impl<__subscriptions, __endpoint, __app_name> ClientConfigBuilder<(__subscriptions, __endpoint, __app_name, ())>
Sourcepub fn buffer_capacity(
self,
buffer_capacity: usize,
) -> ClientConfigBuilder<(__subscriptions, __endpoint, __app_name, (usize,))>
pub fn buffer_capacity( self, buffer_capacity: usize, ) -> ClientConfigBuilder<(__subscriptions, __endpoint, __app_name, (usize,))>
How many events to buffer before exerting backpressure.
Source§impl<__endpoint, __app_name, __buffer_capacity> ClientConfigBuilder<((HashSet<String>,), __endpoint, __app_name, __buffer_capacity)>
impl<__endpoint, __app_name, __buffer_capacity> ClientConfigBuilder<((HashSet<String>,), __endpoint, __app_name, __buffer_capacity)>
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for ClientConfigBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for ClientConfigBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for ClientConfigBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for ClientConfigBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for ClientConfigBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for ClientConfigBuilder<TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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