Struct opcua_server::config::Performance
source · [−]pub struct Performance {
pub single_threaded_executor: bool,
}
Fields
single_threaded_executor: bool
Use a single-threaded executor. The default executor uses a thread pool with a worker thread for each CPU core available on the system.
Trait Implementations
sourceimpl Clone for Performance
impl Clone for Performance
sourcefn clone(&self) -> Performance
fn clone(&self) -> Performance
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Performance
impl Debug for Performance
sourceimpl<'de> Deserialize<'de> for Performance
impl<'de> Deserialize<'de> for Performance
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Performance> for Performance
impl PartialEq<Performance> for Performance
sourcefn eq(&self, other: &Performance) -> bool
fn eq(&self, other: &Performance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Performance) -> bool
fn ne(&self, other: &Performance) -> bool
This method tests for !=
.
sourceimpl Serialize for Performance
impl Serialize for Performance
impl StructuralPartialEq for Performance
Auto Trait Implementations
impl RefUnwindSafe for Performance
impl Send for Performance
impl Sync for Performance
impl Unpin for Performance
impl UnwindSafe for Performance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more