pub(crate) struct RuntimeConfig {Show 15 fields
pub(crate) ip: String,
pub(crate) port: u16,
pub(crate) login_account: Option<String>,
pub(crate) login_pwd: Option<String>,
pub(crate) login_pwd_md5: Option<String>,
pub(crate) login_region: String,
pub(crate) auth_server: String,
pub(crate) log_level: String,
pub(crate) websocket_port: Option<u16>,
pub(crate) telnet_port: Option<u16>,
pub(crate) rest_port: Option<u16>,
pub(crate) grpc_port: Option<u16>,
pub(crate) rsa_private_key: Option<String>,
pub(crate) json_log: bool,
pub(crate) lang: String,
}Expand description
合并后的运行时配置
Fields§
§ip: String§port: u16§login_account: Option<String>§login_pwd: Option<String>§login_pwd_md5: Option<String>§login_region: String§auth_server: String§log_level: String§websocket_port: Option<u16>§telnet_port: Option<u16>§rest_port: Option<u16>§grpc_port: Option<u16>§rsa_private_key: Option<String>§json_log: bool§lang: StringAuto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].