pub enum TaskDef {
StartEvent(StartEventDef),
EndEvent(EndEventDef),
UserTask(UserTaskDef),
ExclusiveGateway(ExclusiveGatewayDef),
}Variants§
StartEvent(StartEventDef)
EndEvent(EndEventDef)
UserTask(UserTaskDef)
ExclusiveGateway(ExclusiveGatewayDef)
Trait Implementations§
Source§impl Archive for TaskDefwhere
StartEventDef: Archive,
EndEventDef: Archive,
UserTaskDef: Archive,
ExclusiveGatewayDef: Archive,
impl Archive for TaskDefwhere
StartEventDef: Archive,
EndEventDef: Archive,
UserTaskDef: Archive,
ExclusiveGatewayDef: Archive,
Source§type Archived = ArchivedTaskDef
type Archived = ArchivedTaskDef
The archived representation of this type. Read more
Source§type Resolver = TaskDefResolver
type Resolver = TaskDefResolver
The resolver for this type. It must contain all the additional information from serializing
needed to make the archived type from the normal type.
Source§impl<__D: Fallible + ?Sized> Deserialize<TaskDef, __D> for Archived<TaskDef>where
StartEventDef: Archive,
Archived<StartEventDef>: Deserialize<StartEventDef, __D>,
EndEventDef: Archive,
Archived<EndEventDef>: Deserialize<EndEventDef, __D>,
UserTaskDef: Archive,
Archived<UserTaskDef>: Deserialize<UserTaskDef, __D>,
ExclusiveGatewayDef: Archive,
Archived<ExclusiveGatewayDef>: Deserialize<ExclusiveGatewayDef, __D>,
impl<__D: Fallible + ?Sized> Deserialize<TaskDef, __D> for Archived<TaskDef>where
StartEventDef: Archive,
Archived<StartEventDef>: Deserialize<StartEventDef, __D>,
EndEventDef: Archive,
Archived<EndEventDef>: Deserialize<EndEventDef, __D>,
UserTaskDef: Archive,
Archived<UserTaskDef>: Deserialize<UserTaskDef, __D>,
ExclusiveGatewayDef: Archive,
Archived<ExclusiveGatewayDef>: Deserialize<ExclusiveGatewayDef, __D>,
Source§impl PartialEq<ArchivedTaskDef> for TaskDefwhere
StartEventDef: Archive,
EndEventDef: Archive,
UserTaskDef: Archive,
ExclusiveGatewayDef: Archive,
Archived<StartEventDef>: PartialEq<StartEventDef>,
Archived<EndEventDef>: PartialEq<EndEventDef>,
Archived<UserTaskDef>: PartialEq<UserTaskDef>,
Archived<ExclusiveGatewayDef>: PartialEq<ExclusiveGatewayDef>,
impl PartialEq<ArchivedTaskDef> for TaskDefwhere
StartEventDef: Archive,
EndEventDef: Archive,
UserTaskDef: Archive,
ExclusiveGatewayDef: Archive,
Archived<StartEventDef>: PartialEq<StartEventDef>,
Archived<EndEventDef>: PartialEq<EndEventDef>,
Archived<UserTaskDef>: PartialEq<UserTaskDef>,
Archived<ExclusiveGatewayDef>: PartialEq<ExclusiveGatewayDef>,
Source§impl PartialEq<TaskDef> for ArchivedTaskDefwhere
StartEventDef: Archive,
EndEventDef: Archive,
UserTaskDef: Archive,
ExclusiveGatewayDef: Archive,
Archived<StartEventDef>: PartialEq<StartEventDef>,
Archived<EndEventDef>: PartialEq<EndEventDef>,
Archived<UserTaskDef>: PartialEq<UserTaskDef>,
Archived<ExclusiveGatewayDef>: PartialEq<ExclusiveGatewayDef>,
impl PartialEq<TaskDef> for ArchivedTaskDefwhere
StartEventDef: Archive,
EndEventDef: Archive,
UserTaskDef: Archive,
ExclusiveGatewayDef: Archive,
Archived<StartEventDef>: PartialEq<StartEventDef>,
Archived<EndEventDef>: PartialEq<EndEventDef>,
Archived<UserTaskDef>: PartialEq<UserTaskDef>,
Archived<ExclusiveGatewayDef>: PartialEq<ExclusiveGatewayDef>,
Source§impl<__S: Fallible + ?Sized> Serialize<__S> for TaskDefwhere
StartEventDef: Serialize<__S>,
EndEventDef: Serialize<__S>,
UserTaskDef: Serialize<__S>,
ExclusiveGatewayDef: Serialize<__S>,
impl<__S: Fallible + ?Sized> Serialize<__S> for TaskDefwhere
StartEventDef: Serialize<__S>,
EndEventDef: Serialize<__S>,
UserTaskDef: Serialize<__S>,
ExclusiveGatewayDef: Serialize<__S>,
impl StructuralPartialEq for TaskDef
Auto Trait Implementations§
impl Freeze for TaskDef
impl RefUnwindSafe for TaskDef
impl Send for TaskDef
impl Sync for TaskDef
impl Unpin for TaskDef
impl UnwindSafe for TaskDef
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.