Hyper.Firecracker.Api.MemoryHotplugStatus (Hyper v0.1.0)

Copy Markdown View Source

Provides struct and type for a MemoryHotplugStatus

Summary

Functions

Build a Hyper.Firecracker.Api.MemoryHotplugStatus from a decoded-JSON map. Compile-time generated.

Types

t()

@type t() :: %Hyper.Firecracker.Api.MemoryHotplugStatus{
  __info__: any(),
  block_size_mib: integer() | nil,
  plugged_size_mib: integer() | nil,
  requested_size_mib: integer() | nil,
  slot_size_mib: integer() | nil,
  total_size_mib: integer() | nil
}

Functions

decode(data)

@spec decode(term()) :: t() | nil | term()

Build a Hyper.Firecracker.Api.MemoryHotplugStatus from a decoded-JSON map. Compile-time generated.