Struct spanner_rs::SessionPoolConfig
source · [−]pub struct SessionPoolConfig { /* private fields */ }
Expand description
Configuration for the internal Cloud Spanner session pool.
Example
use spanner_rs::{Config, SessionPoolConfig};
Config::builder().session_pool_config(SessionPoolConfig::builder().max_size(100).build()?);
Implementations
sourceimpl SessionPoolConfig
impl SessionPoolConfig
pub fn builder() -> SessionPoolConfigBuilder
Trait Implementations
sourceimpl Debug for SessionPoolConfig
impl Debug for SessionPoolConfig
sourceimpl Default for SessionPoolConfig
impl Default for SessionPoolConfig
sourcefn default() -> SessionPoolConfig
fn default() -> SessionPoolConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SessionPoolConfig
impl Send for SessionPoolConfig
impl Sync for SessionPoolConfig
impl Unpin for SessionPoolConfig
impl UnwindSafe for SessionPoolConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request