yosoi.scalars
yosoi.scalars
Validated Python values for the public Rust SDK’s scalar newtypes.
Source: python/yosoi/scalars.py:1
| Name | Summary |
|---|---|
AccessibilityNodeLimit |
Positive addressable u32 bound on accessibility snapshot nodes. |
AddressableByteLimit |
Positive u64 byte bound that also fits the Rust platform address size. |
Budget |
Positive u32 Map discovery budget; zero never means unlimited. |
ByteLimit |
Positive byte limit returned by a policy conversion; units are bytes. |
CaptureDeadline |
Positive capture deadline represented in microseconds. |
CaptureDuration |
Elapsed duration represented in microseconds. |
ContractId |
Authored nonblank identity distinguishing portable Contract schemas. |
CountLimit |
Positive u64 document or locator count; zero does not mean unlimited. |
DocumentEpoch |
Positive u64 document-local generation for DOM and accessibility snapshots. |
DocumentId |
Authored nonblank document identity, independent of an acquisition URL. |
DomNodeId |
Positive u64 node identity meaningful only within its snapshot epoch. |
EventLimit |
Positive addressable u64 count of admitted browser capture events. |
FieldId |
Authored nonblank field identity matching Contract output evidence. |
JsonCoordinate |
Validated JSON Pointer spelling without checking document resolution. |
MaximumElapsed |
Positive u64 elapsed budget measured in microseconds, not a timestamp. |
NonZeroU32 |
Positive 32-bit value returned by Rust policy conversions. |
OutputId |
Authored nonblank locator-output identity for ordered findings. |
ProviderDefaultsVersion |
Positive u16 version selecting certified provider-default metadata. |
RedirectHopLimit |
Positive u32 bound on Direct HTTP redirect transitions. |
RegionId |
Authored nonblank repeated-region identity for finding lineage. |
ResourceLimit |
Positive addressable u32 count of browser resources admitted to a capture. |
StepLimit |
Positive u32 locator step count; zero does not mean unlimited. |
ValidatedInteger |
Integer scalar with the width and constructor rules of its Rust type. |
ValidatedString |
String scalar constructed and checked by its Rust SDK type. |
Constants
Section titled “Constants”| Name | Summary |
|---|---|
RUST_DOMAIN_VALIDATED |
Internal reconstruction context for data already checked by Rust. |