pub struct IntegrationTestMeta {
pub name: String,
pub sync_fn: Option<fn()>,
pub async_fn: Option<Box<dyn Fn() -> Pin<Box<dyn Future<Output = ()>>>>>,
}
Fields§
§name: String
§sync_fn: Option<fn()>
§async_fn: Option<Box<dyn Fn() -> Pin<Box<dyn Future<Output = ()>>>>>
Implementations§
Source§impl IntegrationTestMeta
impl IntegrationTestMeta
pub fn for_sync_fn(name: String, function: fn()) -> IntegrationTestMeta
pub fn for_async_fn( name: String, function: Box<dyn Fn() -> Pin<Box<dyn Future<Output = ()>>>>, ) -> IntegrationTestMeta
Trait Implementations§
impl Collect for IntegrationTestMeta
Auto Trait Implementations§
impl Freeze for IntegrationTestMeta
impl !RefUnwindSafe for IntegrationTestMeta
impl !Send for IntegrationTestMeta
impl !Sync for IntegrationTestMeta
impl Unpin for IntegrationTestMeta
impl !UnwindSafe for IntegrationTestMeta
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