Trait ZeroPadding

pub unsafe trait ZeroPadding: Sized {
    // Required method
    fn zero_padding(out: &mut MaybeUninit<Self>);
}
Expand description

Zeroes the padding of this type.

§Safety

zero_padding must write zeroes to at least the padding bytes of the pointed-to memory.

Required Methods§

fn zero_padding(out: &mut MaybeUninit<Self>)

Writes zeroes to the padding for this type, if any.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl ZeroPadding for bool

§

impl ZeroPadding for i8

§

impl ZeroPadding for u8

§

impl ZeroPadding for ()

§

impl ZeroPadding for WireMessageHeader

§

fn zero_padding(_: &mut MaybeUninit<WireMessageHeader>)

§

impl<T, const N: usize> ZeroPadding for [T; N]
where T: ZeroPadding,

Implementors§

§

impl ZeroPadding for WireChannel

§

impl ZeroPadding for WireOptionalChannel

§

impl ZeroPadding for WireOptionalHandle

§

impl ZeroPadding for RawWireUnion

§

impl ZeroPadding for WireF32

§

impl ZeroPadding for WireF64

§

impl ZeroPadding for WireFrameworkError

§

impl ZeroPadding for WireI16

§

impl ZeroPadding for WireI32

§

impl ZeroPadding for WireI64

§

impl ZeroPadding for WireOptionalString

§

impl ZeroPadding for WireString

§

impl ZeroPadding for WireTable

§

impl ZeroPadding for WireU16

§

impl ZeroPadding for WireU32

§

impl ZeroPadding for WireU64

§

impl ZeroPadding for WireHandle

§

impl ZeroPadding for WireEnvelope

§

impl<T> ZeroPadding for WireBox<T>

§

impl<T> ZeroPadding for WireFlexible<T>

§

impl<T> ZeroPadding for WireOptionalVector<T>

§

impl<T> ZeroPadding for WireVector<T>

§

impl<T, E> ZeroPadding for WireFlexibleResult<T, E>

§

impl<T, E> ZeroPadding for WireResult<T, E>

§

impl<T, P> ZeroPadding for ClientEnd<T, P>
where T: ZeroPadding,

§

impl<T, P> ZeroPadding for ServerEnd<T, P>
where T: ZeroPadding,

impl ZeroPadding for WireCapabilityRequestedPayload

impl ZeroPadding for WireChildIteratorNextResponse

impl ZeroPadding for WireControllerIsStartedResponse

impl ZeroPadding for WireControllerStartRequest

impl ZeroPadding for WireCreateChildArgs

impl ZeroPadding for WireDebugStartedPayload

impl ZeroPadding for WireDestroyedPayload

impl ZeroPadding for WireDirectoryReadyPayload

impl ZeroPadding for WireDiscoveredPayload

impl ZeroPadding for WireError

impl ZeroPadding for WireEvent

impl ZeroPadding for WireEventHeader

impl ZeroPadding for WireEventPayload

impl ZeroPadding for WireEventStreamGetNextResponse

impl ZeroPadding for WireEventType

impl ZeroPadding for WireNamespaceCreateRequest

impl ZeroPadding for WireNamespaceCreateResponse

impl ZeroPadding for WireNamespaceEntry

impl ZeroPadding for WireNamespaceError

impl ZeroPadding for WireNamespaceInputEntry

impl ZeroPadding for WireOptionalEventPayload

impl ZeroPadding for WirePurgedPayload

impl ZeroPadding for WireRealmCreateChildRequest

impl ZeroPadding for WireRealmDestroyChildRequest

impl ZeroPadding for WireRealmListChildrenRequest

impl ZeroPadding for WireRealmOpenControllerRequest

impl ZeroPadding for WireRealmOpenExposedDirRequest

impl ZeroPadding for WireResolvedPayload

impl ZeroPadding for WireStartChildArgs

impl ZeroPadding for WireStartedPayload

impl ZeroPadding for WireStoppedPayload

impl ZeroPadding for WireUnresolvedPayload

impl ZeroPadding for WireAllowedOffers

impl ZeroPadding for WireAvailability

impl ZeroPadding for WireCapability

impl ZeroPadding for WireCapabilityRef

impl ZeroPadding for WireChild

impl ZeroPadding for WireChildRef

impl ZeroPadding for WireCollection

impl ZeroPadding for WireCollectionRef

impl ZeroPadding for WireComponent

impl ZeroPadding for WireConfigChecksum

impl ZeroPadding for WireConfigField

impl ZeroPadding for WireConfigMutability

impl ZeroPadding for WireConfigOverride

impl ZeroPadding for WireConfigSchema

impl ZeroPadding for WireConfigSingleValue

impl ZeroPadding for WireConfigSourceCapabilities

impl ZeroPadding for WireConfigType

impl ZeroPadding for WireConfigTypeLayout

impl ZeroPadding for WireConfigValue

impl ZeroPadding for WireConfigValueSource

impl ZeroPadding for WireConfigValueSpec

impl ZeroPadding for WireConfigValuesData

impl ZeroPadding for WireConfigVectorValue

impl ZeroPadding for WireConfiguration

impl ZeroPadding for WireDebugProtocolRegistration

impl ZeroPadding for WireDebugRef

impl ZeroPadding for WireDebugRegistration

impl ZeroPadding for WireDeliveryType

impl ZeroPadding for WireDependencyType

impl ZeroPadding for WireDictionary

impl ZeroPadding for WireDirectory

impl ZeroPadding for WireDurability

impl ZeroPadding for WireEnvironment

impl ZeroPadding for WireEnvironmentExtends

impl ZeroPadding for WireEnvironmentRef

impl ZeroPadding for WireEventStream

impl ZeroPadding for WireEventSubscription

impl ZeroPadding for WireExpose

impl ZeroPadding for WireExposeConfiguration

impl ZeroPadding for WireExposeDictionary

impl ZeroPadding for WireExposeDirectory

impl ZeroPadding for WireExposeProtocol

impl ZeroPadding for WireExposeResolver

impl ZeroPadding for WireExposeRunner

impl ZeroPadding for WireExposeService

impl ZeroPadding for WireFrameworkRef

impl ZeroPadding for WireLayoutConstraint

impl ZeroPadding for WireLayoutParameter

impl ZeroPadding for WireNameMapping

impl ZeroPadding for WireOffer

impl ZeroPadding for WireOfferConfiguration

impl ZeroPadding for WireOfferDictionary

impl ZeroPadding for WireOfferDirectory

impl ZeroPadding for WireOfferEventStream

impl ZeroPadding for WireOfferProtocol

impl ZeroPadding for WireOfferResolver

impl ZeroPadding for WireOfferRunner

impl ZeroPadding for WireOfferService

impl ZeroPadding for WireOfferStorage

impl ZeroPadding for WireOnTerminate

impl ZeroPadding for WireOptionalCapability

impl ZeroPadding for WireOptionalConfigChecksum

impl ZeroPadding for WireOptionalConfigSingleValue

impl ZeroPadding for WireOptionalConfigValue

impl ZeroPadding for WireOptionalConfigValueSource

impl ZeroPadding for WireOptionalConfigVectorValue

impl ZeroPadding for WireOptionalDebugRegistration

impl ZeroPadding for WireOptionalExpose

impl ZeroPadding for WireOptionalLayoutConstraint

impl ZeroPadding for WireOptionalLayoutParameter

impl ZeroPadding for WireOptionalOffer

impl ZeroPadding for WireOptionalRef

impl ZeroPadding for WireOptionalUse

impl ZeroPadding for WireParentRef

impl ZeroPadding for WireProgram

impl ZeroPadding for WireProtocol

impl ZeroPadding for WireRef

impl ZeroPadding for WireResolvedConfig

impl ZeroPadding for WireResolvedConfigField

impl ZeroPadding for WireResolver

impl ZeroPadding for WireResolverRegistration

impl ZeroPadding for WireRunner

impl ZeroPadding for WireRunnerRegistration

impl ZeroPadding for WireSelfRef

impl ZeroPadding for WireService

impl ZeroPadding for WireStartupMode

impl ZeroPadding for WireStorage

impl ZeroPadding for WireStorageId

impl ZeroPadding for WireUse

impl ZeroPadding for WireUseConfiguration

impl ZeroPadding for WireUseDirectory

impl ZeroPadding for WireUseEventStream

impl ZeroPadding for WireUseProtocol

impl ZeroPadding for WireUseRunner

impl ZeroPadding for WireUseService

impl ZeroPadding for WireUseStorage

impl ZeroPadding for WireVoidRef

impl ZeroPadding for WireComponent

impl ZeroPadding for WireContext

impl ZeroPadding for WirePackage

impl ZeroPadding for WireResolverError

impl ZeroPadding for WireResolverResolveRequest

impl ZeroPadding for WireResolverResolveResponse

impl ZeroPadding for WireComponentDiagnostics

impl ZeroPadding for WireComponentNamespaceEntry

impl ZeroPadding for WireComponentRunnerStartRequest

impl ZeroPadding for WireComponentStartInfo

impl ZeroPadding for WireComponentStopInfo

impl ZeroPadding for WireComponentTasks

impl ZeroPadding for WireOptionalTask

impl ZeroPadding for WireTask

impl ZeroPadding for WireTaskProviderGetJobResponse

impl ZeroPadding for WireAvailability

impl ZeroPadding for WireCapability

impl ZeroPadding for WireCapabilityStoreDropRequest

impl ZeroPadding for WireCapabilityStoreError

impl ZeroPadding for WireConnector

impl ZeroPadding for WireData

impl ZeroPadding for WireDataRouterRouteResponse

impl ZeroPadding for WireDictionaryError

impl ZeroPadding for WireDictionaryItem

impl ZeroPadding for WireDictionaryOptionalItem

impl ZeroPadding for WireDictionaryRef

impl ZeroPadding for WireDirConnector

impl ZeroPadding for WireDirEntry

impl ZeroPadding for WireDirEntryRouterRouteResponse

impl ZeroPadding for WireDirReceiverReceiveRequest

impl ZeroPadding for WireInstanceToken

impl ZeroPadding for WireOptionalCapability

impl ZeroPadding for WireOptionalData

impl ZeroPadding for WireProtocolPayload

impl ZeroPadding for WireRouteRequest

impl ZeroPadding for WireRouterError

impl ZeroPadding for WireUnavailable

impl ZeroPadding for WireUnit

impl ZeroPadding for WireWrappedCapabilityId

impl ZeroPadding for WireDictionary

impl ZeroPadding for WireDictionaryEntry

impl ZeroPadding for WireDictionaryValue

impl ZeroPadding for WireOptionalDictionaryValue

impl ZeroPadding for WireConnectionType

impl ZeroPadding for WireConnectorConnectRequest

impl ZeroPadding for WireDevfsAddArgs

impl ZeroPadding for WireComponentDiagnostics

impl ZeroPadding for WireComponentTasks

impl ZeroPadding for WireInterest

impl ZeroPadding for WireOptionalTask

impl ZeroPadding for WireSeverity

impl ZeroPadding for WireTask

impl ZeroPadding for WireBindRule

impl ZeroPadding for WireBindRule2

impl ZeroPadding for WireBusInfo

impl ZeroPadding for WireBusType

impl ZeroPadding for WireCompositeDriverInfo

impl ZeroPadding for WireCompositeDriverMatch

impl ZeroPadding for WireCompositeInfo

impl ZeroPadding for WireCompositeNodeSpec

impl ZeroPadding for WireCompositeNodeSpecError

impl ZeroPadding for WireCompositeParent

impl ZeroPadding for WireCondition

impl ZeroPadding for WireDevfsAddArgs

impl ZeroPadding for WireDeviceAddress

impl ZeroPadding for WireDeviceAddressStability

impl ZeroPadding for WireDeviceCategory

impl ZeroPadding for WireDriverInfo

impl ZeroPadding for WireDriverPackageType

impl ZeroPadding for WireDriverStartArgs

impl ZeroPadding for WireDriverStartRequest

impl ZeroPadding for WireNodeAddArgs

impl ZeroPadding for WireNodeAddChildRequest

impl ZeroPadding for WireNodeControllerOnBindRequest

impl ZeroPadding for WireNodeError

impl ZeroPadding for WireNodeProperty

impl ZeroPadding for WireNodeProperty2

impl ZeroPadding for WireNodePropertyEntry

impl ZeroPadding for WireNodePropertyEntry2

impl ZeroPadding for WireNodePropertyKey

impl ZeroPadding for WireNodePropertyValue

impl ZeroPadding for WireNodeSymbol

impl ZeroPadding for WireOffer

impl ZeroPadding for WireOptionalDeviceAddress

impl ZeroPadding for WireOptionalNodePropertyKey

impl ZeroPadding for WireOptionalNodePropertyValue

impl ZeroPadding for WireOptionalOffer

impl ZeroPadding for WireParentSpec

impl ZeroPadding for WireParentSpec2

impl ZeroPadding for WireDeviceGetEventResponse

impl ZeroPadding for WireDeviceGetHardwareIdResponse

impl ZeroPadding for WireAdvisoryLockRange

impl ZeroPadding for WireAdvisoryLockRequest

impl ZeroPadding for WireAdvisoryLockType

impl ZeroPadding for WireAllocateMode

impl ZeroPadding for WireConnectionInfo

impl ZeroPadding for WireDirectoryGetTokenResponse

impl ZeroPadding for WireDirectoryInfo

impl ZeroPadding for WireDirectoryLinkRequest

impl ZeroPadding for WireDirectoryLinkResponse

impl ZeroPadding for WireDirectoryObject

impl ZeroPadding for WireDirectoryOpenRequest

impl ZeroPadding for WireDirectoryReadDirentsRequest

impl ZeroPadding for WireDirectoryRenameRequest

impl ZeroPadding for WireDirectoryRewindResponse

impl ZeroPadding for WireDirectoryUnlinkRequest

impl ZeroPadding for WireDirectoryWatchRequest

impl ZeroPadding for WireDirectoryWatchResponse

impl ZeroPadding for WireDirentType

impl ZeroPadding for WireEmptyStruct

impl ZeroPadding for WireExtendedAttributeValue

impl ZeroPadding for WireFileAllocateRequest

impl ZeroPadding for WireFileEnableVerityRequest

impl ZeroPadding for WireFileGetBackingMemoryRequest

impl ZeroPadding for WireFileInfo

impl ZeroPadding for WireFileObject

impl ZeroPadding for WireFileReadAtRequest

impl ZeroPadding for WireFileReadAtResponse

impl ZeroPadding for WireFileResizeRequest

impl ZeroPadding for WireFileSeekRequest

impl ZeroPadding for WireFileSeekResponse

impl ZeroPadding for WireFileSignal

impl ZeroPadding for WireFileWriteAtRequest

impl ZeroPadding for WireFileWriteAtResponse

impl ZeroPadding for WireFilesystemInfo

impl ZeroPadding for WireFlags

impl ZeroPadding for WireHashAlgorithm

impl ZeroPadding for WireImmutableNodeAttributes

impl ZeroPadding for WireLinkableLinkIntoRequest

impl ZeroPadding for WireModeType

impl ZeroPadding for WireMutableNodeAttributes

impl ZeroPadding for WireNodeAttributeFlags

impl ZeroPadding for WireNodeAttributes

impl ZeroPadding for WireNodeAttributes2

impl ZeroPadding for WireNodeAttributesQuery

impl ZeroPadding for WireNodeDeprecatedCloneRequest

impl ZeroPadding for WireNodeGetAttrResponse

impl ZeroPadding for WireNodeGetAttributesRequest

impl ZeroPadding for WireNodeGetFlagsResponse

impl ZeroPadding for WireNodeInfo

impl ZeroPadding for WireNodeInfoDeprecated

impl ZeroPadding for WireNodeOnOpenRequest

impl ZeroPadding for WireNodeProtocolKinds

impl ZeroPadding for WireNodeQueryFilesystemResponse

impl ZeroPadding for WireNodeSetAttrRequest

impl ZeroPadding for WireNodeSetAttrResponse

impl ZeroPadding for WireNodeSetFlagsRequest

impl ZeroPadding for WireOpenFlags

impl ZeroPadding for WireOperations

impl ZeroPadding for WireOptionalNodeInfoDeprecated

impl ZeroPadding for WireOptionalRepresentation

impl ZeroPadding for WireOptionalSelinuxContext

impl ZeroPadding for WireOptions

impl ZeroPadding for WireReadableReadRequest

impl ZeroPadding for WireReadableReadResponse

impl ZeroPadding for WireRepresentation

impl ZeroPadding for WireSeekOrigin

impl ZeroPadding for WireSelinuxContext

impl ZeroPadding for WireService

impl ZeroPadding for WireSetExtendedAttributeMode

impl ZeroPadding for WireSymlinkInfo

impl ZeroPadding for WireSymlinkObject

impl ZeroPadding for WireUnlinkFlags

impl ZeroPadding for WireUnlinkOptions

impl ZeroPadding for WireVerificationOptions

impl ZeroPadding for WireVmoFlags

impl ZeroPadding for WireWatchEvent

impl ZeroPadding for WireWatchMask

impl ZeroPadding for WireWritableWriteRequest

impl ZeroPadding for WireWritableWriteResponse

impl ZeroPadding for WireLoaderCloneRequest

impl ZeroPadding for WireLoaderCloneResponse

impl ZeroPadding for WireLoaderConfigRequest

impl ZeroPadding for WireLoaderConfigResponse

impl ZeroPadding for WireLoaderLoadObjectRequest

impl ZeroPadding for WireLoaderLoadObjectResponse

impl ZeroPadding for WireBuffer

impl ZeroPadding for WireData

impl ZeroPadding for WireOptionalData

impl ZeroPadding for WireRange

impl ZeroPadding for WireHandleInfo

impl ZeroPadding for WireLaunchInfo

impl ZeroPadding for WireLauncherAddArgsRequest

impl ZeroPadding for WireLauncherAddEnvironsRequest

impl ZeroPadding for WireLauncherAddHandlesRequest

impl ZeroPadding for WireLauncherAddNamesRequest

impl ZeroPadding for WireLauncherLaunchRequest

impl ZeroPadding for WireLauncherLaunchResponse

impl ZeroPadding for WireLauncherSetOptionsRequest

impl ZeroPadding for WireNameInfo

impl ZeroPadding for WireProcessStartData

impl ZeroPadding for WireResolverResolveRequest

impl ZeroPadding for WireResolverResolveResponse

impl ZeroPadding for WireCloneableCloneRequest

impl ZeroPadding for WireQueryableQueryResponse