MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / Value

Enum Value

wasm-pdk/src/lib.rs:290–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288/// Typed primitive value; composites (list, dict, set, instances) go through `Handle::call`.
289#[derive(Debug, Clone)]
290pub enum Value {
291 None,
292 Bool(bool),
293 Int(i128),
294 Float(f64),
295 /// UTF-8 transit; the host materialises a `str`.
296 Bytes(Vec<u8>),
297 /// Opaque bytes transit; the host materialises a `bytes`.
298 Raw(Vec<u8>),
299}
300
301/* FromValue / IntoValue */
302

Callers 15

from_kindMethod · 0.70
from_handleMethod · 0.70
repeatMethod · 0.50
to_errorFunction · 0.50
decode_strFunction · 0.50
to_pdk_errFunction · 0.50
value_errFunction · 0.50
serializeFunction · 0.50
serialize_intoFunction · 0.50
serialize_sequenceFunction · 0.50
serialize_objectFunction · 0.50
too_largeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected