pub struct AttemptOptions {
pub initiator: Initiator,
}
Expand description
Wrapper type for fidl_fuchsia_update::AttemptOptions
which validates the
options on construction and works with [proptest
].
Use TryFrom
(or TryInto
) to convert the fidl type and this one, and
From
(or Into
) to convert back to the fidl type.
Fields§
§initiator: Initiator
Trait Implementations§
Source§impl Arbitrary for AttemptOptions
impl Arbitrary for AttemptOptions
Source§type Parameters = <Initiator as Arbitrary>::Parameters
type Parameters = <Initiator as Arbitrary>::Parameters
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = Map<<Initiator as Arbitrary>::Strategy, fn(_: Initiator) -> AttemptOptions>
type Strategy = Map<<Initiator as Arbitrary>::Strategy, fn(_: Initiator) -> AttemptOptions>
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 Clone for AttemptOptions
impl Clone for AttemptOptions
Source§fn clone(&self) -> AttemptOptions
fn clone(&self) -> AttemptOptions
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 AttemptOptions
impl Debug for AttemptOptions
Source§impl Event for AttemptOptions
impl Event for AttemptOptions
Source§fn can_merge(&self, _other: &AttemptOptions) -> bool
fn can_merge(&self, _other: &AttemptOptions) -> bool
Returns whether this event can be merged with another event.
Source§impl From<AttemptOptions> for AttemptOptions
impl From<AttemptOptions> for AttemptOptions
Source§fn from(o: AttemptOptions) -> Self
fn from(o: AttemptOptions) -> Self
Converts to this type from the input type.
Source§impl From<CheckOptions> for AttemptOptions
impl From<CheckOptions> for AttemptOptions
Source§fn from(o: CheckOptions) -> Self
fn from(o: CheckOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AttemptOptions
impl PartialEq for AttemptOptions
Source§impl TryFrom<AttemptOptions> for AttemptOptions
impl TryFrom<AttemptOptions> for AttemptOptions
impl StructuralPartialEq for AttemptOptions
Auto Trait Implementations§
impl Freeze for AttemptOptions
impl RefUnwindSafe for AttemptOptions
impl Send for AttemptOptions
impl Sync for AttemptOptions
impl Unpin for AttemptOptions
impl UnwindSafe for AttemptOptions
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
)