Crate wasmer_journal

Source

Structs§

AlignedCowStr
AlignedCowVec
An aligned COW vector of bytes which avoids copying data when its constructed. The vector is aligned on the 16-byte boundary
ArchivedJournalEntryChangeDirectoryV1
An archived JournalEntryChangeDirectoryV1
ArchivedJournalEntryClearEtherealV1
An archived JournalEntryClearEtherealV1
ArchivedJournalEntryCloseFileDescriptorV1
An archived JournalEntryCloseFileDescriptorV1
ArchivedJournalEntryCloseThreadV1
An archived JournalEntryCloseThreadV1
ArchivedJournalEntryCreateDirectoryV1
An archived JournalEntryCreateDirectoryV1
ArchivedJournalEntryCreateEventV1
An archived JournalEntryCreateEventV1
ArchivedJournalEntryCreateHardLinkV1
An archived JournalEntryCreateHardLinkV1
ArchivedJournalEntryCreatePipeV1
An archived JournalEntryCreatePipeV1
ArchivedJournalEntryCreateSymbolicLinkV1
An archived JournalEntryCreateSymbolicLinkV1
ArchivedJournalEntryDuplicateFileDescriptorV1
An archived JournalEntryDuplicateFileDescriptorV1
ArchivedJournalEntryDuplicateFileDescriptorV2
An archived JournalEntryDuplicateFileDescriptorV2
ArchivedJournalEntryEpollCreateV1
An archived JournalEntryEpollCreateV1
ArchivedJournalEntryEpollCtlV1
An archived JournalEntryEpollCtlV1
ArchivedJournalEntryFileDescriptorAdviseV1
An archived JournalEntryFileDescriptorAdviseV1
ArchivedJournalEntryFileDescriptorAllocateV1
An archived JournalEntryFileDescriptorAllocateV1
ArchivedJournalEntryFileDescriptorSeekV1
An archived JournalEntryFileDescriptorSeekV1
ArchivedJournalEntryFileDescriptorSetFdFlagsV1
An archived JournalEntryFileDescriptorSetFdFlagsV1
ArchivedJournalEntryFileDescriptorSetFlagsV1
An archived JournalEntryFileDescriptorSetFlagsV1
ArchivedJournalEntryFileDescriptorSetRightsV1
An archived JournalEntryFileDescriptorSetRightsV1
ArchivedJournalEntryFileDescriptorSetSizeV1
An archived JournalEntryFileDescriptorSetSizeV1
ArchivedJournalEntryFileDescriptorSetTimesV1
An archived JournalEntryFileDescriptorSetTimesV1
ArchivedJournalEntryFileDescriptorWriteV1
An archived JournalEntryFileDescriptorWriteV1
ArchivedJournalEntryInitModuleV1
An archived JournalEntryInitModuleV1
ArchivedJournalEntryOpenFileDescriptorV1
An archived JournalEntryOpenFileDescriptorV1
ArchivedJournalEntryOpenFileDescriptorV2
An archived JournalEntryOpenFileDescriptorV2
ArchivedJournalEntryPathRenameV1
An archived JournalEntryPathRenameV1
ArchivedJournalEntryPathSetTimesV1
An archived JournalEntryPathSetTimesV1
ArchivedJournalEntryPortAddAddrV1
An archived JournalEntryPortAddAddrV1
ArchivedJournalEntryPortBridgeV1
An archived JournalEntryPortBridgeV1
ArchivedJournalEntryPortDelAddrV1
An archived JournalEntryPortDelAddrV1
ArchivedJournalEntryPortGatewaySetV1
An archived JournalEntryPortGatewaySetV1
ArchivedJournalEntryPortRouteAddV1
An archived JournalEntryPortRouteAddV1
ArchivedJournalEntryPortRouteDelV1
An archived JournalEntryPortRouteDelV1
ArchivedJournalEntryProcessExitV1
An archived JournalEntryProcessExitV1
ArchivedJournalEntryRemoveDirectoryV1
An archived JournalEntryRemoveDirectoryV1
ArchivedJournalEntryRenumberFileDescriptorV1
An archived JournalEntryRenumberFileDescriptorV1
ArchivedJournalEntrySetClockTimeV1
An archived JournalEntrySetClockTimeV1
ArchivedJournalEntrySetThreadV1
An archived JournalEntrySetThreadV1
ArchivedJournalEntrySnapshotV1
An archived JournalEntrySnapshotV1
ArchivedJournalEntrySocketAcceptedV1
An archived JournalEntrySocketAcceptedV1
ArchivedJournalEntrySocketBindV1
An archived JournalEntrySocketBindV1
ArchivedJournalEntrySocketConnectedV1
An archived JournalEntrySocketConnectedV1
ArchivedJournalEntrySocketJoinIpv4MulticastV1
An archived JournalEntrySocketJoinIpv4MulticastV1
ArchivedJournalEntrySocketJoinIpv6MulticastV1
An archived JournalEntrySocketJoinIpv6MulticastV1
ArchivedJournalEntrySocketLeaveIpv4MulticastV1
An archived JournalEntrySocketLeaveIpv4MulticastV1
ArchivedJournalEntrySocketLeaveIpv6MulticastV1
An archived JournalEntrySocketLeaveIpv6MulticastV1
ArchivedJournalEntrySocketListenV1
An archived JournalEntrySocketListenV1
ArchivedJournalEntrySocketOpenV1
An archived JournalEntrySocketOpenV1
ArchivedJournalEntrySocketPairV1
An archived JournalEntrySocketPairV1
ArchivedJournalEntrySocketSendFileV1
An archived JournalEntrySocketSendFileV1
ArchivedJournalEntrySocketSendToV1
An archived JournalEntrySocketSendToV1
ArchivedJournalEntrySocketSendV1
An archived JournalEntrySocketSendV1
ArchivedJournalEntrySocketSetOptFlagV1
An archived JournalEntrySocketSetOptFlagV1
ArchivedJournalEntrySocketSetOptSizeV1
An archived JournalEntrySocketSetOptSizeV1
ArchivedJournalEntrySocketSetOptTimeV1
An archived JournalEntrySocketSetOptTimeV1
ArchivedJournalEntrySocketShutdownV1
An archived JournalEntrySocketShutdownV1
ArchivedJournalEntryTtySetV1
An archived JournalEntryTtySetV1
ArchivedJournalEntryUnlinkFileV1
An archived JournalEntryUnlinkFileV1
ArchivedJournalEntryUpdateMemoryRegionV1
An archived JournalEntryUpdateMemoryRegionV1
ArchivedJournalEpollEventCtlV1
An archived JournalEpollEventCtlV1
ArchivedJournalIpCidrV1
An archived JournalIpCidrV1
ArchivedJournalWasiMemoryLayout
An archived JournalWasiMemoryLayout
AutoConsistentJournal
Journal which leave itself in a consistent state once it commits by closing all the file descriptors that were opened while it was recording writes.
AutoConsistentJournalRx
AutoConsistentJournalTx
BufferedJournal
BufferedJournalRx
BufferedJournalTx
CompactResult
Represents the results of a compaction operation
CompactingJournal
CompactingJournalRx
CompactingJournalTx
Deduplicates memory and stacks to reduce the number of volume of log events sent to its inner capturer. Compacting the events occurs in line as the events are generated
CompactingLogFileJournal
CompactingLogFileJournalRx
CompactingLogFileJournalTx
CompactingTransactionJournal
Journal which will store the events locally in memory until it is either committed or rolled back
CompactingTransactionJournalRx
CompactingTransactionJournalTx
CountingJournal
Journal that counts the size of the entries that are written to it
FilteredJournal
Filters out a specific set of journal events and drops the rest, this journal can be useful for restoring to a previous call point but retaining the memory changes (e.g. WCGI runner).
FilteredJournalBuilder
Constructs a filter with a set of parameters that will be filtered on
FilteredJournalRx
FilteredJournalTx
JournalEntryChangeDirectoryV1
JournalEntryChangeDirectoryV1Resolver
The resolver for an archived JournalEntryChangeDirectoryV1
JournalEntryClearEtherealV1
JournalEntryClearEtherealV1Resolver
The resolver for an archived JournalEntryClearEtherealV1
JournalEntryCloseFileDescriptorV1
JournalEntryCloseFileDescriptorV1Resolver
The resolver for an archived JournalEntryCloseFileDescriptorV1
JournalEntryCloseThreadV1
JournalEntryCloseThreadV1Resolver
The resolver for an archived JournalEntryCloseThreadV1
JournalEntryCreateDirectoryV1
JournalEntryCreateDirectoryV1Resolver
The resolver for an archived JournalEntryCreateDirectoryV1
JournalEntryCreateEventV1
JournalEntryCreateEventV1Resolver
The resolver for an archived JournalEntryCreateEventV1
JournalEntryCreateHardLinkV1
JournalEntryCreateHardLinkV1Resolver
The resolver for an archived JournalEntryCreateHardLinkV1
JournalEntryCreatePipeV1
JournalEntryCreatePipeV1Resolver
The resolver for an archived JournalEntryCreatePipeV1
JournalEntryCreateSymbolicLinkV1
JournalEntryCreateSymbolicLinkV1Resolver
The resolver for an archived JournalEntryCreateSymbolicLinkV1
JournalEntryDuplicateFileDescriptorV1
JournalEntryDuplicateFileDescriptorV2
JournalEntryDuplicateFileDescriptorV1Resolver
The resolver for an archived JournalEntryDuplicateFileDescriptorV1
JournalEntryDuplicateFileDescriptorV2Resolver
The resolver for an archived JournalEntryDuplicateFileDescriptorV2
JournalEntryEpollCreateV1
JournalEntryEpollCreateV1Resolver
The resolver for an archived JournalEntryEpollCreateV1
JournalEntryEpollCtlV1
JournalEntryEpollCtlV1Resolver
The resolver for an archived JournalEntryEpollCtlV1
JournalEntryFileDescriptorAdviseV1
JournalEntryFileDescriptorAdviseV1Resolver
The resolver for an archived JournalEntryFileDescriptorAdviseV1
JournalEntryFileDescriptorAllocateV1
JournalEntryFileDescriptorAllocateV1Resolver
The resolver for an archived JournalEntryFileDescriptorAllocateV1
JournalEntryFileDescriptorSeekV1
JournalEntryFileDescriptorSeekV1Resolver
The resolver for an archived JournalEntryFileDescriptorSeekV1
JournalEntryFileDescriptorSetFdFlagsV1
JournalEntryFileDescriptorSetFdFlagsV1Resolver
The resolver for an archived JournalEntryFileDescriptorSetFdFlagsV1
JournalEntryFileDescriptorSetFlagsV1
JournalEntryFileDescriptorSetFlagsV1Resolver
The resolver for an archived JournalEntryFileDescriptorSetFlagsV1
JournalEntryFileDescriptorSetRightsV1
JournalEntryFileDescriptorSetRightsV1Resolver
The resolver for an archived JournalEntryFileDescriptorSetRightsV1
JournalEntryFileDescriptorSetSizeV1
JournalEntryFileDescriptorSetSizeV1Resolver
The resolver for an archived JournalEntryFileDescriptorSetSizeV1
JournalEntryFileDescriptorSetTimesV1
JournalEntryFileDescriptorSetTimesV1Resolver
The resolver for an archived JournalEntryFileDescriptorSetTimesV1
JournalEntryFileDescriptorWriteV1
WARNING!!!! Do not change this structure without updating “/lib/cli/src/commands/journal/mount/fs.rs”
JournalEntryFileDescriptorWriteV1Resolver
The resolver for an archived JournalEntryFileDescriptorWriteV1
JournalEntryInitModuleV1
JournalEntryInitModuleV1Resolver
The resolver for an archived JournalEntryInitModuleV1
JournalEntryOpenFileDescriptorV1
JournalEntryOpenFileDescriptorV2
JournalEntryOpenFileDescriptorV1Resolver
The resolver for an archived JournalEntryOpenFileDescriptorV1
JournalEntryOpenFileDescriptorV2Resolver
The resolver for an archived JournalEntryOpenFileDescriptorV2
JournalEntryPathRenameV1
JournalEntryPathRenameV1Resolver
The resolver for an archived JournalEntryPathRenameV1
JournalEntryPathSetTimesV1
JournalEntryPathSetTimesV1Resolver
The resolver for an archived JournalEntryPathSetTimesV1
JournalEntryPortAddAddrV1
JournalEntryPortAddAddrV1Resolver
The resolver for an archived JournalEntryPortAddAddrV1
JournalEntryPortBridgeV1
JournalEntryPortBridgeV1Resolver
The resolver for an archived JournalEntryPortBridgeV1
JournalEntryPortDelAddrV1
JournalEntryPortDelAddrV1Resolver
The resolver for an archived JournalEntryPortDelAddrV1
JournalEntryPortGatewaySetV1
JournalEntryPortGatewaySetV1Resolver
The resolver for an archived JournalEntryPortGatewaySetV1
JournalEntryPortRouteAddV1
JournalEntryPortRouteAddV1Resolver
The resolver for an archived JournalEntryPortRouteAddV1
JournalEntryPortRouteDelV1
JournalEntryPortRouteDelV1Resolver
The resolver for an archived JournalEntryPortRouteDelV1
JournalEntryProcessExitV1
JournalEntryProcessExitV1Resolver
The resolver for an archived JournalEntryProcessExitV1
JournalEntryRemoveDirectoryV1
JournalEntryRemoveDirectoryV1Resolver
The resolver for an archived JournalEntryRemoveDirectoryV1
JournalEntryRenumberFileDescriptorV1
JournalEntryRenumberFileDescriptorV1Resolver
The resolver for an archived JournalEntryRenumberFileDescriptorV1
JournalEntrySetClockTimeV1
JournalEntrySetClockTimeV1Resolver
The resolver for an archived JournalEntrySetClockTimeV1
JournalEntrySetThreadV1
JournalEntrySetThreadV1Resolver
The resolver for an archived JournalEntrySetThreadV1
JournalEntrySnapshotV1
JournalEntrySnapshotV1Resolver
The resolver for an archived JournalEntrySnapshotV1
JournalEntrySocketAcceptedV1
JournalEntrySocketAcceptedV1Resolver
The resolver for an archived JournalEntrySocketAcceptedV1
JournalEntrySocketBindV1
JournalEntrySocketBindV1Resolver
The resolver for an archived JournalEntrySocketBindV1
JournalEntrySocketConnectedV1
JournalEntrySocketConnectedV1Resolver
The resolver for an archived JournalEntrySocketConnectedV1
JournalEntrySocketJoinIpv4MulticastV1
JournalEntrySocketJoinIpv4MulticastV1Resolver
The resolver for an archived JournalEntrySocketJoinIpv4MulticastV1
JournalEntrySocketJoinIpv6MulticastV1
JournalEntrySocketJoinIpv6MulticastV1Resolver
The resolver for an archived JournalEntrySocketJoinIpv6MulticastV1
JournalEntrySocketLeaveIpv4MulticastV1
JournalEntrySocketLeaveIpv4MulticastV1Resolver
The resolver for an archived JournalEntrySocketLeaveIpv4MulticastV1
JournalEntrySocketLeaveIpv6MulticastV1
JournalEntrySocketLeaveIpv6MulticastV1Resolver
The resolver for an archived JournalEntrySocketLeaveIpv6MulticastV1
JournalEntrySocketListenV1
JournalEntrySocketListenV1Resolver
The resolver for an archived JournalEntrySocketListenV1
JournalEntrySocketOpenV1
JournalEntrySocketOpenV1Resolver
The resolver for an archived JournalEntrySocketOpenV1
JournalEntrySocketPairV1
JournalEntrySocketPairV1Resolver
The resolver for an archived JournalEntrySocketPairV1
JournalEntrySocketSendFileV1
JournalEntrySocketSendFileV1Resolver
The resolver for an archived JournalEntrySocketSendFileV1
JournalEntrySocketSendToV1
JournalEntrySocketSendToV1Resolver
The resolver for an archived JournalEntrySocketSendToV1
JournalEntrySocketSendV1
JournalEntrySocketSendV1Resolver
The resolver for an archived JournalEntrySocketSendV1
JournalEntrySocketSetOptFlagV1
JournalEntrySocketSetOptFlagV1Resolver
The resolver for an archived JournalEntrySocketSetOptFlagV1
JournalEntrySocketSetOptSizeV1
JournalEntrySocketSetOptSizeV1Resolver
The resolver for an archived JournalEntrySocketSetOptSizeV1
JournalEntrySocketSetOptTimeV1
JournalEntrySocketSetOptTimeV1Resolver
The resolver for an archived JournalEntrySocketSetOptTimeV1
JournalEntrySocketShutdownV1
JournalEntrySocketShutdownV1Resolver
The resolver for an archived JournalEntrySocketShutdownV1
JournalEntryTtySetV1
JournalEntryTtySetV1Resolver
The resolver for an archived JournalEntryTtySetV1
JournalEntryUnlinkFileV1
JournalEntryUnlinkFileV1Resolver
The resolver for an archived JournalEntryUnlinkFileV1
JournalEntryUpdateMemoryRegionV1
JournalEntryUpdateMemoryRegionV1Resolver
The resolver for an archived JournalEntryUpdateMemoryRegionV1
JournalEpollEventCtlV1
JournalEpollEventCtlV1Resolver
The resolver for an archived JournalEpollEventCtlV1
JournalIpCidrV1
JournalIpCidrV1Resolver
The resolver for an archived JournalIpCidrV1
JournalWasiMemoryLayout
JournalWasiMemoryLayoutResolver
The resolver for an archived JournalWasiMemoryLayout
LogFileJournal
The LogFile snapshot capturer will write its snapshots to a linear journal and read them when restoring. It uses the bincode serializer which means that forwards and backwards compatibility must be dealt with carefully.
LogFileJournalRx
LogFileJournalTx
LogReadResult
The results of an operation to read a log entry from the log
LogWriteResult
The results of an operation to write a log entry to the log
MemFileJournal
The memory file journal processes journal entries by writing any memory mutations directly to a file. Later this can be used as a mounting target for resuming a process without having to reload the journal from scratch.
NullJournal
The null journal sends all the records into the abyss
PipeJournal
PipeJournalRx
PipeJournalTx
PrintingJournal
The printing journal writes all the journal entries to the console as either text or json.
RecombinedJournal
TransactionJournal
Journal which will store the events locally in memory until it is either committed or rolled back
TransactionJournalRx
TransactionJournalTx
UnsupportedJournal
The default for runtime is to use the unsupported journal which will fail to write journal entries if one attempts to do so.

Enums§

ArchivedJournalAddressfamilyV1
An archived JournalAddressfamilyV1
ArchivedJournalAdviceV1
An archived JournalAdviceV1
ArchivedJournalEntry
ArchivedJournalEntryRecordType
An archived JournalEntryRecordType
ArchivedJournalEpollCtlV1
An archived JournalEpollCtlV1
ArchivedJournalExitCodeV1
An archived JournalExitCodeV1
ArchivedJournalSnapshot0ClockidV1
An archived JournalSnapshot0ClockidV1
ArchivedJournalSnapshotTriggerV1
An archived JournalSnapshotTriggerV1
ArchivedJournalSocketShutdownV1
An archived JournalSocketShutdownV1
ArchivedJournalSockoptionV1
An archived JournalSockoptionV1
ArchivedJournalSocktypeV1
An archived JournalSocktypeV1
ArchivedJournalStreamSecurityV1
An archived JournalStreamSecurityV1
ArchivedJournalThreadStartTypeV1
An archived JournalThreadStartTypeV1
ArchivedJournalTimeTypeV1
An archived JournalTimeTypeV1
ArchivedJournalWhenceV1
An archived JournalWhenceV1
JournalAddressfamilyV1
JournalAddressfamilyV1Resolver
The resolver for an archived JournalAddressfamilyV1
JournalAdviceV1
JournalAdviceV1Resolver
The resolver for an archived JournalAdviceV1
JournalEntry
Represents a log entry in a snapshot log stream that represents the total state of a WASM process at a point in time.
JournalEntryRecordType
JournalEntryRecordTypeResolver
The resolver for an archived JournalEntryRecordType
JournalEpollCtlV1
JournalEpollCtlV1Resolver
The resolver for an archived JournalEpollCtlV1
JournalExitCodeV1
JournalExitCodeV1Resolver
The resolver for an archived JournalExitCodeV1
JournalPrintingMode
Type of printing mode to use
JournalSnapshot0ClockidV1
JournalSnapshot0ClockidV1Resolver
The resolver for an archived JournalSnapshot0ClockidV1
JournalSnapshotTriggerV1
JournalSnapshotTriggerV1Resolver
The resolver for an archived JournalSnapshotTriggerV1
JournalSocketShutdownV1
JournalSocketShutdownV1Resolver
The resolver for an archived JournalSocketShutdownV1
JournalSockoptionV1
JournalSockoptionV1Resolver
The resolver for an archived JournalSockoptionV1
JournalSocktypeV1
JournalSocktypeV1Resolver
The resolver for an archived JournalSocktypeV1
JournalStreamSecurityV1
JournalStreamSecurityV1Resolver
The resolver for an archived JournalStreamSecurityV1
JournalThreadStartTypeV1
JournalThreadStartTypeV1Resolver
The resolver for an archived JournalThreadStartTypeV1
JournalTimeTypeV1
JournalTimeTypeV1Resolver
The resolver for an archived JournalTimeTypeV1
JournalWhenceV1
JournalWhenceV1Resolver
The resolver for an archived JournalWhenceV1
SnapshotTrigger
Various triggers that will cause the runtime to take snapshot of the WASM state and store it in the snapshot file.
SocketJournalEvent
SocketOptTimeType
SocketShutdownHow

Constants§

DEFAULT_SNAPSHOT_TRIGGERS
JOURNAL_MAGIC_NUMBER
JOURNAL_MAGIC_NUMBER_BYTES

Statics§

NULL_JOURNAL
UNSUPPORTED_JOURNAL

Traits§

Journal
The snapshot capturer will take a series of objects that represents the state of a WASM process at a point in time and saves it so that it can be restored. It also allows for the restoration of that state at a later moment
ReadableJournal
The snapshot capturer will take a series of objects that represents the state of a WASM process at a point in time and saves it so that it can be restored. It also allows for the restoration of that state at a later moment
WritableJournal
The snapshot capturer will take a series of objects that represents the state of a WASM process at a point in time and saves it so that it can be restored. It also allows for the restoration of that state at a later moment

Functions§

copy_journal

Type Aliases§

DynJournal
DynReadableJournal
DynWritableJournal
Fd