Skip to content

fidius-host::error Rust

Error types for fidius-host plugin loading and calling.

Enums

fidius-host::error::LoadError pub

Errors that can occur when loading a plugin.

Variants

  • LibraryNotFound
  • SymbolNotFound
  • InvalidMagic
  • IncompatibleRegistryVersion
  • IncompatibleAbiVersion
  • InterfaceHashMismatch
  • BufferStrategyMismatch
  • ArchitectureMismatch
  • UnknownBufferStrategy
  • SignatureInvalid
  • SignatureRequired
  • PluginNotFound
  • LibLoading
  • Io

fidius-host::error::CallError pub

Errors that can occur when calling a plugin method.

Variants

  • Serialization
  • Deserialization
  • Plugin
  • Panic
  • BufferTooSmall
  • NotImplemented - Optional method is not implemented by this plugin — its capability bit is unset. Returned when a method marked #[optional] is called on a plugin that chose not to implement it. Not returned for out-of-range method indices; see InvalidMethodIndex.
  • InvalidMethodIndex
  • UnknownStatus