pub enum StartupMode {
Lazy,
Eager,
}
Expand description
A component instance’s startup mode. See StartupMode
.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StartupMode
impl Clone for StartupMode
Source§fn clone(&self) -> StartupMode
fn clone(&self) -> StartupMode
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 StartupMode
impl Debug for StartupMode
Source§impl Default for StartupMode
impl Default for StartupMode
Source§fn default() -> StartupMode
fn default() -> StartupMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartupMode
impl<'de> Deserialize<'de> for StartupMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StartupMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StartupMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StartupMode> for StartupMode
impl From<StartupMode> for StartupMode
Source§fn from(input: StartupMode) -> StartupMode
fn from(input: StartupMode) -> StartupMode
Converts to this type from the input type.
Source§impl PartialEq for StartupMode
impl PartialEq for StartupMode
Source§impl Serialize for StartupMode
impl Serialize for StartupMode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StartupMode
Auto Trait Implementations§
impl Freeze for StartupMode
impl RefUnwindSafe for StartupMode
impl Send for StartupMode
impl Sync for StartupMode
impl Unpin for StartupMode
impl UnwindSafe for StartupMode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)