pub unsafe trait AllValid { }
Expand description
An unsafe marker trait for types for which all bit patterns are valid. This is required in order for it to be safe to read a value of a particular type out of the sandbox from the HostSharedMemory.
§Safety
This must only be implemented for types for which all bit patterns are valid. It requires that any (non-undef/poison) value of the correct size can be transmuted to the type.