Struct ydb::NodeConfigBuilder
source · pub struct NodeConfigBuilder { /* private fields */ }
Expand description
Builder for NodeConfig
.
Implementations§
source§impl NodeConfigBuilder
impl NodeConfigBuilder
pub fn self_check_period_millis(&mut self, value: u32) -> &mut Self
pub fn session_grace_period_millis(&mut self, value: u32) -> &mut Self
pub fn read_consistency_mode( &mut self, value: Option<ConsistencyMode> ) -> &mut Self
pub fn attach_consistency_mode( &mut self, value: Option<ConsistencyMode> ) -> &mut Self
pub fn rate_limiter_counters_mode( &mut self, value: Option<RateLimiterCountersMode> ) -> &mut Self
Trait Implementations§
source§impl Clone for NodeConfigBuilder
impl Clone for NodeConfigBuilder
source§fn clone(&self) -> NodeConfigBuilder
fn clone(&self) -> NodeConfigBuilder
Returns a copy 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 NodeConfigBuilder
impl RefUnwindSafe for NodeConfigBuilder
impl Send for NodeConfigBuilder
impl Sync for NodeConfigBuilder
impl Unpin for NodeConfigBuilder
impl UnwindSafe for NodeConfigBuilder
Blanket Implementations§
source§impl<T> Any for T
impl<T> Any for T
source§fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove
Any::type_id_compat and use StdAny::type_id instead.
https://github.com/rust-lang/rust/issues/27745
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request