pub struct ActionFixture { /* private fields */ }Expand description
Action metadata for polling tests.
Implementations§
Source§impl ActionFixture
impl ActionFixture
Sourcepub const fn new(
state: ActionState,
progress: u8,
) -> Result<Self, FixtureMetadataError>
pub const fn new( state: ActionState, progress: u8, ) -> Result<Self, FixtureMetadataError>
Creates bounded action metadata.
Sourcepub const fn state(self) -> ActionState
pub const fn state(self) -> ActionState
Returns the lifecycle state.
Trait Implementations§
Source§impl Clone for ActionFixture
impl Clone for ActionFixture
Source§fn clone(&self) -> ActionFixture
fn clone(&self) -> ActionFixture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ActionFixture
Source§impl Debug for ActionFixture
impl Debug for ActionFixture
impl Eq for ActionFixture
Source§impl PartialEq for ActionFixture
impl PartialEq for ActionFixture
impl StructuralPartialEq for ActionFixture
Auto Trait Implementations§
impl Freeze for ActionFixture
impl RefUnwindSafe for ActionFixture
impl Send for ActionFixture
impl Sync for ActionFixture
impl Unpin for ActionFixture
impl UnsafeUnpin for ActionFixture
impl UnwindSafe for ActionFixture
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