wasmCloud Documentation
  • Docs Home
  • Home
  • Github
releases contact
releases contact
  • Overview
    • Installation
      • Install with Docker
      • Manual Install
    • Getting started
  • App development
    • Getting Started
    • Creating an actor
      • Generating a new actor project
      • Running the actor
      • Customizing the actor
      • Testing the actor (Rust)
    • Using standard capabilities
    • Combining capabilities
    • Creating capability providers
      • Creating an interface
      • Creating a new provider
      • Creating a provider archive
      • Calling the provider from an actor
      • Testing the new provider
    • Actor to actor calls
    • Securing a wasmCloud App
      • Environment Variables
      • Cluster Keys and Issuers
      • NATS Connections
    • Developer Workflows
      • OpenTelemetry Tracing
    • Errors and Debugging
      • Host Troubleshooting
      • Actor Troubleshooting
      • Provider Troubleshooting
  • Platform building
    • Running on 'Bare Metal'
    • Running in a docker image
    • Running on Kubernetes
    • Integrating with OpenFaas
    • Creating Custom Hosts
      • Building a Host from Spec
    • OCI Registries and the Lattice
    • Lattice Deployment Strategies
  • Interfaces
    • Annotation traits
    • Code generation
    • codegen.toml files
    • Rust crates
    • Tips
      • Clippy warnings
      • Error messages
      • Lint and validate checks
      • Single-member structures
    • wasmCloud Smithy
  • Reference
    • wasmCloud Host Runtime
      • Architecture
      • Actors
      • Capabilities
      • Security
      • Provider Archives
      • Link Definitions
      • Host Manifests
      • Host Configuration
      • Health Checks
      • Running the Host
      • Safe Shutdown
    • Lattice
      • Architecture
      • Working with Leaf Nodes
      • Security patterns
      • NGS as an infrastructure bridge
      • Configuring JetStream
      • Leaf Node Config (JS)
      • Scheduling Auctions
      • Provisioning and Managing
    • Lattice Protocols
      • Namespace Prefix
      • RPC
      • Control interface
    • wasmbus
      • The wasmbus Protocol
      • wasmbus FFI Functions
    • Bindle and wasmCloud
      • Using Bindle with wasmCloud
      • Creating a Bindle for a Provider
      • Creating a Bindle for an Actor
    • wasmCloud Shell (wash)
      • Contexts
    • App Deployments (wadm)
      • Installation
      • Wadm App Model
      • Using wadm
      • API Reference
    • Reference Applications
    • Official OCI Image List

Tips

This section conatains some suggestions and tips for writing and debugging interface definitions.

  • Use lint and validation tools

  • Prefer simple members to one-member structures

  • Understanding smithy model error messages

  • Clippy warnings

Rust crates Clippy warnings
  • Installation
  • Contact
  • Github
wasmCloud Documentation
2022 © wasmCloud Project Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage