Struct rubble::att::pdus::ByTypeAttData[][src]

pub struct ByTypeAttData<'a> {
    handle: Handle,
    value: HexSlice<&'a [u8]>,
}
Expand description

Attribute Data returned in Read By Type response.

Fields

handle: Handlevalue: HexSlice<&'a [u8]>

Implementations

Creates a Read By Type Response attribute data structure from the attribute’s handle and value.

Returns the encoded size of this ByTypeAttData structure.

Trait Implementations

Formats the value using the given formatter. Read more

Decode a Self from a byte slice, advancing bytes to point past the data that was read. Read more

Converts self to bytes and writes them into writer, advancing writer to point past the encoded value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.