Skip to main content

AttrPathArrayBuilder

Struct AttrPathArrayBuilder 

Source
pub struct AttrPathArrayBuilder<P> { /* private fields */ }
Expand description

Array builder for the AttributeRequests field. Opened by ReadReqBuilder::attr_requests; close with .end() to return to the message builder.

Implementations§

Source§

impl<P> AttrPathArrayBuilder<P>

Source

pub fn new(p: P, tag: &TLVTag) -> Result<AttrPathArrayBuilder<P>, Error>

Begin a new AttrPath array — opens an array at the given tag on the parent’s writer.

Source

pub fn push(self) -> Result<AttrPathBuilder<AttrPathArrayBuilder<P>>, Error>

Start a new AttrPath entry. The returned AttrPathBuilder terminates with .end() which returns this array builder.

Source

pub fn end(self) -> Result<P, Error>

Close the array and return the message builder.

Trait Implementations§

Source§

impl<P> AccessControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AccountLoginAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ActionsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ActivatedCarbonFilterMonitoringAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AdministratorCommissioningAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AirQualityAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AmbientContextSensingAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AmbientSensingUnionAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ApplicationBasicAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ApplicationLauncherAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AudioOutputAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> AvAnalysisAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> BallastConfigurationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> BasicInformationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> BindingAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> BooleanStateAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> BooleanStateConfigurationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> BridgedDeviceBasicInformationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CameraAvSettingsUserLevelManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CameraAvStreamManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CarbonDioxideConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CarbonMonoxideConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ChannelAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ChimeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ClosureControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ClosureDimensionAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ColorControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CommissionerControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CommodityMeteringAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CommodityPriceAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> CommodityTariffAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ContentAppObserverAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ContentControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ContentLauncherAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> Debug for AttrPathArrayBuilder<P>
where P: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<P> DescriptorAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DeviceEnergyManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DeviceEnergyManagementModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DiagnosticLogsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DishwasherAlarmAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DishwasherModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DoorLockAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> DynamicLightingAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> EcosystemInformationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ElectricalAlarmAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ElectricalDistributionAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ElectricalEnergyMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ElectricalGridConditionsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ElectricalPowerMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ElectricalProtectionAlarmAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> EnergyEvseAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> EnergyEvseModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> EnergyPreferenceAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> EthernetNetworkDiagnosticsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> FanControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> FaultInjectionAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> FixedLabelAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> FlowMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> FormaldehydeConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> GeneralCommissioningAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> GeneralDiagnosticsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> GroupKeyManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> GroupcastAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> GroupsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> HepaFilterMonitoringAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> HumidistatAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> IcdManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> IdentifyAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> IlluminanceMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> JointFabricAdministratorAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> JointFabricDatastoreAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> KeypadInputAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> LaundryDryerControlsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> LaundryWasherControlsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> LaundryWasherModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> LevelControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> LocalizationConfigurationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> LowPowerAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> MediaInputAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> MediaPlaybackAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> MessagesAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> MeterIdentificationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> MicrowaveOvenControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> MicrowaveOvenModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ModeSelectAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> NetworkCommissioningAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> NetworkIdentityManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> NitrogenDioxideConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OccupancySensingAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OnOffAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OperationalCredentialsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OperationalStateAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OtaSoftwareUpdateProviderAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OtaSoftwareUpdateRequestorAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OvenCavityOperationalStateAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OvenModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> OzoneConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> Pm1ConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> Pm10ConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> Pm25ConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PowerSourceAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PowerSourceConfigurationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PowerTopologyAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PressureMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ProximityRangingAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ProxyConfigurationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ProxyDiscoveryAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ProxyValidAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PulseWidthModulationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PumpConfigurationAndControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> PushAvStreamTransportAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RadonConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RefrigeratorAlarmAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RefrigeratorAndTemperatureControlledCabinetModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RelativeHumidityMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RvcCleanModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RvcOperationalStateAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> RvcRunModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> SampleMeiAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ScenesManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ServiceAreaAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> SmokeCoAlarmAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> SmokeConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> SoftwareDiagnosticsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> SoilMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> SwitchAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TLVBuilder<P> for AttrPathArrayBuilder<P>

Source§

fn new(parent: P, tag: &TLVTag) -> Result<AttrPathArrayBuilder<P>, Error>

Create a new TLV builder for the given parent and tag.
Source§

fn unchecked_into_parent(self) -> P

Convert itself into a writer. Read more
Source§

fn with<F>(self, f: F) -> Result<P, Error>
where F: FnOnce(Self) -> Result<P, Error>,

Call a closure with the builder and return the result.
Source§

impl<P> TLVBuilderParent for AttrPathArrayBuilder<P>

Source§

type Write = <P as TLVBuilderParent>::Write

The type of the writer.
Source§

fn writer( &mut self, ) -> &mut <AttrPathArrayBuilder<P> as TLVBuilderParent>::Write

Return a mutable reference to the writer.
Source§

impl<P> TargetNavigatorAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TemperatureControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TemperatureControlledCabinetTopologyAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TemperatureMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ThermostatAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ThermostatUserInterfaceConfigurationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ThreadBorderRouterManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ThreadNetworkDiagnosticsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ThreadNetworkDirectoryAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TimeFormatLocalizationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TimeSynchronizationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TlsCertificateManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TlsClientManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> TotalVolatileOrganicCompoundsConcentrationMeasurementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> UnitLocalizationAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> UnitTestingAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> UserLabelAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ValveConfigurationAndControlAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WakeOnLanAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WaterHeaterManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WaterHeaterModeAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WaterTankLevelMonitoringAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WebRtcTransportProviderAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WebRtcTransportRequestorAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WiFiNetworkDiagnosticsAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WiFiNetworkManagementAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> WindowCoveringAttrReads<P> for AttrPathArrayBuilder<P>

Source§

impl<P> ZoneManagementAttrReads<P> for AttrPathArrayBuilder<P>

Auto Trait Implementations§

§

impl<P> Freeze for AttrPathArrayBuilder<P>
where P: Freeze,

§

impl<P> RefUnwindSafe for AttrPathArrayBuilder<P>
where P: RefUnwindSafe,

§

impl<P> Send for AttrPathArrayBuilder<P>
where P: Send,

§

impl<P> Sync for AttrPathArrayBuilder<P>
where P: Sync,

§

impl<P> Unpin for AttrPathArrayBuilder<P>
where P: Unpin,

§

impl<P> UnsafeUnpin for AttrPathArrayBuilder<P>
where P: UnsafeUnpin,

§

impl<P> UnwindSafe for AttrPathArrayBuilder<P>
where P: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, E> Init<T, E> for T

Source§

unsafe fn __init(self, slot: *mut T) -> Result<(), E>

Initializes slot. Read more
Source§

fn chain<F>(self, f: F) -> ChainInit<Self, F, T, E>
where F: FnOnce(&mut T) -> Result<(), E>,

First initializes the value using self then calls the function f with the initialized value. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, I> IntoFallibleInit<T> for I
where I: Init<T>,

Source§

fn into_fallible<E>(self) -> impl Init<T, E>

Convert the infallible initializer to a fallible one.
Source§

impl<Source, Target> OctetsInto<Target> for Source
where Target: OctetsFrom<Source>,

Source§

type Error = <Target as OctetsFrom<Source>>::Error

Source§

fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>

Performs the conversion.
Source§

fn octets_into(self) -> Target
where Self::Error: Into<Infallible>,

Performs an infallible conversion.
Source§

impl<T, E> PinInit<T, E> for T

Source§

unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>

Initializes slot. Read more
Source§

fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>
where F: FnOnce(Pin<&mut T>) -> Result<(), E>,

First initializes the value using self then calls the function f with the initialized value. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V