Enum shadowsocks_rust::config::RuntimeMode
source · [−]pub enum RuntimeMode {
SingleThread,
MultiThread,
}Expand description
Runtime mode (Tokio)
Variants
SingleThread
Single-Thread Runtime
MultiThread
Multi-Thread Runtime
Trait Implementations
Returns the “default value” for a type. Read more
type Err = RuntimeModeError
type Err = RuntimeModeError
The associated error which can be returned from parsing.
Auto Trait Implementations
impl RefUnwindSafe for RuntimeMode
impl Send for RuntimeMode
impl Sync for RuntimeMode
impl Unpin for RuntimeMode
impl UnwindSafe for RuntimeMode
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more