pub enum Initiator {
User,
Service,
}
Expand description
Who or what initiated the update installation.
Variants§
User
The install was initiated by an interactive user, or the user is otherwise blocked and waiting for the result of this update.
Service
The install was initiated by a service, in the background.
Trait Implementations§
Source§impl Arbitrary for Initiator
impl Arbitrary for Initiator
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> Initiator>), (u32, Arc<fn() -> Initiator>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> Initiator>), (u32, Arc<fn() -> Initiator>))>
The type of
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl<'de> Deserialize<'de> for Initiator
impl<'de> Deserialize<'de> for Initiator
Source§fn 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
impl Copy for Initiator
impl StructuralPartialEq for Initiator
Auto Trait Implementations§
impl Freeze for Initiator
impl RefUnwindSafe for Initiator
impl Send for Initiator
impl Sync for Initiator
impl Unpin for Initiator
impl UnwindSafe for Initiator
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
)