pub struct SecureTypeDBSection {
pub tls_mode: OutboundTlsMode,
/* private fields */
}Expand description
TypeDB connection settings for the standalone server’s secure entry point.
The credential-bearing V1 projection is deliberately not publicly reachable from a loaded runtime config:
ⓘ
use type_bridge_server::config::SecureTypeDBSection;
fn accidentally_log_raw_connection(config: &SecureTypeDBSection) {
let _ = format!("{:?}", config.connection);
}Fields§
§tls_mode: OutboundTlsModeValidated transport mode used by both HTTP discovery and gRPC.
Implementations§
Source§impl SecureTypeDBSection
impl SecureTypeDBSection
Sourcepub fn new(connection: TypeDBSection, tls_mode: OutboundTlsMode) -> Self
pub fn new(connection: TypeDBSection, tls_mode: OutboundTlsMode) -> Self
Construct secure connection settings from an independently owned TLS policy. Custom-root paths are captured during transport preparation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecureTypeDBSection
impl RefUnwindSafe for SecureTypeDBSection
impl Send for SecureTypeDBSection
impl Sync for SecureTypeDBSection
impl Unpin for SecureTypeDBSection
impl UnsafeUnpin for SecureTypeDBSection
impl UnwindSafe for SecureTypeDBSection
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