Expand description
Data model for exchanging data with the in-app WAF.
Structs§
- Keyed
- An
WafObjectorTypedWafObjectassociated with a key. - Length
TooLarge Error - The error that is returned when a value’s length exceeds the maximum allowed.
- Libddwaf
Default Allocator - Allocator type that uses libddwaf’s default.
- Object
Type Error - The error that is returned when a
WafObjectdoes not have the expectedWafObjectType. - Rust
Allocator - Allocator type that uses the Rust-registered allocator.
- Unknown
Object Type Error - The error that is returned when a
WafObjectdoes not have a known, validWafObjectType. - WafArray
- The WAF object representation of a value of type WafObjectType::Array
- WafBool
- The WAF object representation of a value of type WafObjectType::Bool
- WafFloat
- The WAF object representation of a value of type WafObjectType::Float
- WafInvalid
- The WAF object representation of a value of type WafObjectType::Invalid
- WafIter
- An iterator over an
WafArrayorWafMap. - WafMap
- The WAF object representation of a value of type WafObjectType::Map
- WafNull
- The WAF object representation of a value of type WafObjectType::Null
- WafObject
- The low-level representation of an arbitrary WAF object.
- WafOwned
- A WAF-owned
WafObjectorTypedWafObjectvalue. - WafSigned
- The WAF object representation of a value of type WafObjectType::Signed
- WafString
- The WAF object representation of a value of type WafObjectType::String
- WafUnsigned
- The WAF object representation of a value of type WafObjectType::Unsigned
Enums§
- WafObject
Type - Identifies the type of the value stored in a
WafObject.
Traits§
- Allocator
Type - Trait to encode which allocator should be used for deallocation in the type system.
- Typed
WafObject - This trait is implemented by type-safe interfaces to the
WafObject, with one implementation for eachWafObjectType.
Type Aliases§
- WafOwned
Default Allocator - Type alias for WAF-owned objects using the system default allocator.
- WafOwned
Output Allocator - Type alias for WAF-owned objects using the Rust-registered allocator (for outputs).