Skip to main content

Updatable

Trait Updatable 

Source
pub trait Updatable<V>:
    Sized
    + EntityTypeRef
    + Sized
    + Sync
    + Send
    + for<'de> Deserialize<'de>
where V: Sync + Send + Serialize,
{ // Provided method fn update<B>( &self, bmc: &B, update: &V, ) -> impl Future<Output = Result<ModificationResponse<Self>, <B as Bmc>::Error>> + Send where B: Bmc { ... } }
Expand description

This trait is assigned to entity types that are marked as updatable in the CSDL specification.

Provided Methods§

Source

fn update<B>( &self, bmc: &B, update: &V, ) -> impl Future<Output = Result<ModificationResponse<Self>, <B as Bmc>::Error>> + Send
where B: Bmc,

Update an entity using update as payload.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Updatable<ManagerAccountUpdate> for ManagerAccount

Source§

impl Updatable<LiteonPowerSupplyUpdate> for LiteonPowerSupply

Source§

impl Updatable<AccountServiceUpdate> for AccountService

Source§

impl Updatable<AssemblyUpdate> for Assembly

Source§

impl Updatable<BiosUpdate> for Bios

Source§

impl Updatable<BootOptionUpdate> for BootOption

Source§

impl Updatable<ChassisUpdate> for Chassis

Source§

impl Updatable<ComputerSystemUpdate> for ComputerSystem

Source§

impl Updatable<DriveUpdate> for Drive

Source§

impl Updatable<EnvironmentMetricsUpdate> for EnvironmentMetrics

Source§

impl Updatable<EthernetInterfaceUpdate> for EthernetInterface

Source§

impl Updatable<EventServiceUpdate> for EventService

Source§

impl Updatable<FanUpdate> for Fan

Source§

impl Updatable<HostInterfaceUpdate> for HostInterface

Source§

impl Updatable<LeakDetectorUpdate> for LeakDetector

Source§

impl Updatable<LogEntryUpdate> for LogEntry

Source§

impl Updatable<LogServiceUpdate> for LogService

Source§

impl Updatable<ManagerUpdate> for Manager

Source§

impl Updatable<MemoryUpdate> for Memory

Source§

impl Updatable<NetworkAdapterUpdate> for NetworkAdapter

Source§

impl Updatable<NetworkDeviceFunctionUpdate> for NetworkDeviceFunction

Source§

impl Updatable<PcieDeviceUpdate> for PcieDevice

Source§

impl Updatable<PowerUpdate> for Power

Source§

impl Updatable<PowerSubsystemUpdate> for PowerSubsystem

Source§

impl Updatable<PowerSupplyUpdate> for PowerSupply

Source§

impl Updatable<ProcessorUpdate> for Processor

Source§

impl Updatable<ResourceBlockUpdate> for ResourceBlock

Source§

impl Updatable<SecureBootUpdate> for SecureBoot

Source§

impl Updatable<SensorUpdate> for Sensor

Source§

impl Updatable<SessionServiceUpdate> for SessionService

Source§

impl Updatable<SoftwareInventoryUpdate> for SoftwareInventory

Source§

impl Updatable<StorageUpdate> for Storage

Source§

impl Updatable<StorageControllerUpdate> for StorageController

Source§

impl Updatable<TelemetryServiceUpdate> for TelemetryService

Source§

impl Updatable<ThermalUpdate> for Thermal

Source§

impl Updatable<ThermalSubsystemUpdate> for ThermalSubsystem

Source§

impl Updatable<UpdateServiceUpdate> for UpdateService

Source§

impl Updatable<VolumeUpdate> for Volume

Source§

impl Updatable<MetricDefinitionUpdate> for MetricDefinition

Source§

impl Updatable<MetricReportDefinitionUpdate> for MetricReportDefinition

Source§

impl<U, T> Updatable<U> for NavProperty<T>
where T: Updatable<U>, U: Sync + Send + Serialize,