[][src]Trait rubble::att::Attributes

pub trait Attributes {
    fn attributes(&mut self) -> &[Attribute];
}

Trait for attribute sets that can be hosted by an AttributeServer.

TODO: This trait needs to be restructured completely, since it's not always possible to put all attributes in a slice. Right now this trait is also kind of useless since you could just give the &[Attribute] to the server directly. Rename it to AttributeProvider and add methods for inspecting grouped attributes.

Required methods

fn attributes(&mut self) -> &[Attribute]

Loading content...

Implementors

impl Attributes for NoAttributes[src]

impl<'a> Attributes for GattServer<'a>[src]

Loading content...