fidl_fuchsia_bluetooth_gattTrait LocalServiceDelegateProxyInterface
Source pub trait LocalServiceDelegateProxyInterface: Send + Sync {
type OnReadValueResponseFut: Future<Output = Result<(Option<Vec<u8>>, ErrorCode), Error>> + Send;
type OnWriteValueResponseFut: Future<Output = Result<ErrorCode, Error>> + Send;
// Required methods
fn on_characteristic_configuration(
&self,
characteristic_id: u64,
peer_id: &str,
notify: bool,
indicate: bool,
) -> Result<(), Error>;
fn on_read_value(
&self,
id: u64,
offset: i32,
) -> Self::OnReadValueResponseFut;
fn on_write_value(
&self,
id: u64,
offset: u16,
value: &[u8],
) -> Self::OnWriteValueResponseFut;
fn on_write_without_response(
&self,
id: u64,
offset: u16,
value: &[u8],
) -> Result<(), Error>;
}