pub struct InitInfo { /* private fields */ }
Expand description
Driver initialization information. All RPC session must be initialized with this struct.
Implementations§
source§impl InitInfo
impl InitInfo
sourcepub fn builder() -> InitInfoBuilder<((), (), (), (), (), ())>
pub fn builder() -> InitInfoBuilder<((), (), (), (), (), ())>
Create a builder for building InitInfo
.
On the builder, call .write(...)
, .read(...)
, .inbound_channel_size(...)
(optional), .block_on_full_inbound(...)
(optional), .buffer_size_levels(...)
(optional), .largest_buffer_shrink_size(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of InitInfo
.