pub enum Payload {
Show 15 variants
None,
File(FilePayload),
Mem(MemPayload),
Sync(SyncPayload),
Thread(ThreadPayload),
D3d12(D3d12Payload),
Vulkan(VulkanPayload),
Gpu(GpuPayload),
Io(IoPayload),
Katra(KatraPayload),
Shader(ShaderPayload),
Cache(CachePayload),
Present(PresentPayload),
Decompress(DecompressPayload),
Raw(RawPayload),
}Expand description
The payload of a crate::TraceEvent. Plain scalars only; append-only.
Variants§
None
No payload.
File(FilePayload)
File operation.
Mem(MemPayload)
Memory operation.
Sync(SyncPayload)
Synchronization operation.
Thread(ThreadPayload)
Thread operation.
D3d12(D3d12Payload)
D3D12 call.
Vulkan(VulkanPayload)
Vulkan call.
Gpu(GpuPayload)
GPU sample.
Io(IoPayload)
I/O operation.
Katra(KatraPayload)
Katra-native operation.
Shader(ShaderPayload)
Shader operation.
Cache(CachePayload)
Cache operation.
Present(PresentPayload)
Present operation.
Decompress(DecompressPayload)
Decompression operation.
Raw(RawPayload)
Extension payload.
Implementations§
Trait Implementations§
impl Copy for Payload
Source§impl<'de> Deserialize<'de> for Payload
impl<'de> Deserialize<'de> for Payload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payload
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