fn configured_codec_extra(&self) -> Result<CodecExtra, avdtp::Error> {
        self.endpoint
            .get_configuration()?
            .iter()
            .find_map(|cap| CodecExtra::try_from(cap).ok())
            .ok_or(avdtp::Error::InvalidState)
    }
/// Get the currently configured extra codec data
Get the currently configured extra codec data
Get the currently configured extra codec data
fn configured_codec_extra(&self) -> Result<CodecExtra, avdtp::Error> {
        self.endpoint
            .get_configuration()?
            .iter()
            .find_map(|cap| CodecExtra::try_from(cap).ok())
            .ok_or(avdtp::Error::InvalidState)
    }
fn configured_codec_extra ( & self ) -> Result < CodecExtra , avdtp :: Error > { self . endpoint . get_configuration ( ) ? . iter ( ) . find_map ( | cap | CodecExtra :: try_from ( cap ) . ok ( ) ) . ok_or ( avdtp :: Error :: InvalidState ) }
Get the currently configured extra codec data
Get the currently configured extra codec data
&self
&self