pub enum Initiator {
User,
Service,
}
Expand description
Wrapper type for fidl_fuchsia_update::Initiator
which works with
[proptest
].
Use From
(and Into
) to convert between the fidl type and this one.
Variants§
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
impl Copy for Initiator
impl Eq 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
)