fidl_fuchsia_bluetooth_gatt2Trait LocalServiceProxyInterface
Source pub trait LocalServiceProxyInterface: Send + Sync {
type CharacteristicConfigurationResponseFut: Future<Output = Result<(), Error>> + Send;
type ReadValueResponseFut: Future<Output = Result<LocalServiceReadValueResult, Error>> + Send;
type WriteValueResponseFut: Future<Output = Result<LocalServiceWriteValueResult, Error>> + Send;
type PeerUpdateResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn characteristic_configuration(
&self,
peer_id: &PeerId,
handle: &Handle,
notify: bool,
indicate: bool,
) -> Self::CharacteristicConfigurationResponseFut;
fn read_value(
&self,
peer_id: &PeerId,
handle: &Handle,
offset: i32,
) -> Self::ReadValueResponseFut;
fn write_value(
&self,
payload: &LocalServiceWriteValueRequest,
) -> Self::WriteValueResponseFut;
fn peer_update(
&self,
payload: &LocalServicePeerUpdateRequest,
) -> Self::PeerUpdateResponseFut;
fn value_changed_credit(&self, additional_credit: u8) -> Result<(), Error>;
}