Skip to main content

Crate fidl_fuchsia_driver_lab_common

Crate fidl_fuchsia_driver_lab_common 

Source

Modules§

gpio_endpoint_ordinals
i2c_endpoint_ordinals
proxy__ordinals
session_ordinals
spi_endpoint_ordinals

Macros§

AuditDecisionUnknown
Pattern that matches an unknown AuditDecision member.
AuditStatusUnknown
Pattern that matches an unknown AuditStatus member.
BarrierVariantUnknown
Pattern that matches an unknown BarrierVariant member.
OpenSessionErrorUnknown
Pattern that matches an unknown OpenSessionError member.
OperationErrorUnknown
Pattern that matches an unknown OperationError member.
ResourceKindUnknown
Pattern that matches an unknown ResourceKind member.
SequenceItemOutcomeUnknown
Pattern that matches an unknown SequenceItemOutcome member.
SequenceItemUnknown
Pattern that matches an unknown SequenceItem member.
TakeoverStateUnknown
Pattern that matches an unknown TakeoverState member.

Structs§

AccessRule
One exact session allowlist rule. Wildcards do not exist.
AuditEntry
AuditPage
Barrier
ClockDisableResult
ClockEnableResult
ClockGetRateResult
ClockIsEnabledResult
ClockQueryRateResult
ClockSetRateResult
DelayNs
Expectations
Expected proxy identity. A mismatch – including an absent required field – is rejected before allowlist validation and before any hardware access. Extensible so phase 2 can add takeover expectations without a major version change.
GpioEndpointWriteRequest
GpioRead
GpioReadResult
GpioWrite
GpioWriteResult
I2cEndpointTransferRequest
I2cTransfer
I2cTransferResult
InterruptResult
Poll32
PollResult
ProxyDescription
ProxyOpenSessionResponse
Read32
ReadResult
ResetAssertResult
ResetDeassertResult
ResetStatusResult
ResetToggleResult
ResourceDescription
Logical description of one offered resource. Never contains physical addresses or raw handles.
RunContext
Host-supplied provenance recorded with the session. Diagnostic, not authorization.
SequenceItemResult
SequenceResult
SerialReadResult
SerialWriteResult
SessionClockDisableRequest
SessionClockEnableRequest
SessionClockGetRateRequest
SessionClockIsEnabledRequest
SessionClockQueryRateRequest
SessionClockSetRateRequest
SessionExecuteSequenceRequest
SessionGpioReadRequest
SessionGpioWriteRequest
SessionI2cTransferRequest
SessionPoll32Request
SessionRead32Request
SessionReadAuditRequest
SessionResetAssertRequest
SessionResetDeassertRequest
SessionResetStatusRequest
SessionResetToggleRequest
SessionSerialReadRequest
SessionSerialWriteRequest
SessionSnapshotRequest
SessionSpiTransmitRequest
SessionWaitForInterruptRequest
SessionWrite32Request
SnapshotItem
SnapshotItemResult
SnapshotResult
SpiEndpointTransmitRequest
SpiTransmit
SpiTransmitResult
Write32
WritePrecondition
WriteResult

Enums§

AccessClass
Access classes distinguished by policy. A grant for one class never authorizes another.
AuditDecision
AuditStatus
BarrierVariant
OpenSessionError
OperationError
Machine-readable reason an operation, allowlist rule, or session open was refused. BACKEND_FAULT is an execution failure after policy allowed the operation; the audit ring records the distinction.
ResourceKind
SequenceItem
SequenceItemOutcome
SessionMode
TakeoverState
Managed-takeover lifecycle state. Phase 1 never activates takeover, so the only reported state is NOT_ACTIVE; phase 2 adds the takeover and restoration states without a major version change.

Constants§

MAX_ALLOWLIST_RULES
MAX_AUDIT_PAGE_ENTRIES
MAX_NAME_LENGTH
MAX_OPERATION_LENGTH
MAX_RESOURCES
Bounds declared by the protocol; runtime target limits may be smaller.
MAX_SEQUENCE_ITEMS
MAX_SNAPSHOT_ITEMS
MAX_STRING_LENGTH
MAX_TRANSFER_SIZE