pub struct RuntimeServerConfig {
pub server: ServerSection,
pub typedb: SecureTypeDBSection,
pub schema: SchemaSection,
pub interceptors: InterceptorsSection,
pub logging: LoggingSection,
pub inbound_tls: Option<InboundTlsSection>,
pub v2: V2Section,
}Expand description
Standalone-server configuration with additive secure and V2 settings.
ServerConfig remains the released plaintext configuration surface so
downstream exhaustive struct literals and patterns keep compiling. The
standalone binary parses this projection instead; its private wire types
accept the same TOML tables while keeping new fields out of the released
structs.
Fields§
§server: ServerSection§typedb: SecureTypeDBSection§schema: SchemaSection§interceptors: InterceptorsSection§logging: LoggingSection§inbound_tls: Option<InboundTlsSection>§v2: V2SectionImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuntimeServerConfig
impl RefUnwindSafe for RuntimeServerConfig
impl Send for RuntimeServerConfig
impl Sync for RuntimeServerConfig
impl Unpin for RuntimeServerConfig
impl UnsafeUnpin for RuntimeServerConfig
impl UnwindSafe for RuntimeServerConfig
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
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> 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 moreSource§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