Enum shadowsocks_rust::config::RuntimeMode
source · pub enum RuntimeMode {
SingleThread,
MultiThread,
}
Expand description
Runtime mode (Tokio)
Variants§
Trait Implementations§
source§impl Clone for RuntimeMode
impl Clone for RuntimeMode
source§fn clone(&self) -> RuntimeMode
fn clone(&self) -> RuntimeMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuntimeMode
impl Debug for RuntimeMode
source§impl Default for RuntimeMode
impl Default for RuntimeMode
source§fn default() -> RuntimeMode
fn default() -> RuntimeMode
Returns the “default value” for a type. Read more
source§impl FromStr for RuntimeMode
impl FromStr for RuntimeMode
impl Copy for RuntimeMode
Auto Trait Implementations§
impl Freeze for RuntimeMode
impl RefUnwindSafe for RuntimeMode
impl Send for RuntimeMode
impl Sync for RuntimeMode
impl Unpin for RuntimeMode
impl UnwindSafe for RuntimeMode
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