Struct barley_std::sync::Join
source · pub struct Join;Implementations§
Trait Implementations§
source§impl Action for Join
impl Action for Join
source§fn check<'life0, 'async_trait>(
&'life0 self,
_ctx: Arc<RwLock<Context>>
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check<'life0, 'async_trait>( &'life0 self, _ctx: Arc<RwLock<Context>> ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Check if the action needs to be run. Read more
source§fn perform<'life0, 'async_trait>(
&'life0 self,
_ctx: Arc<RwLock<Context>>
) -> Pin<Box<dyn Future<Output = Result<Option<ActionOutput>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn perform<'life0, 'async_trait>( &'life0 self, _ctx: Arc<RwLock<Context>> ) -> Pin<Box<dyn Future<Output = Result<Option<ActionOutput>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Run the action.
source§fn rollback<'life0, 'async_trait>(
&'life0 self,
_ctx: Arc<RwLock<Context>>
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rollback<'life0, 'async_trait>( &'life0 self, _ctx: Arc<RwLock<Context>> ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Undo the action. Read more
source§fn display_name(&self) -> String
fn display_name(&self) -> String
Get the display name of the action.
Auto Trait Implementations§
impl RefUnwindSafe for Join
impl Send for Join
impl Sync for Join
impl Unpin for Join
impl UnwindSafe for Join
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