pub enum IsochronousStreamRequest {
SetupDataPath {
payload: IsochronousStreamSetupDataPathRequest,
responder: IsochronousStreamSetupDataPathResponder,
},
Read {
responder: IsochronousStreamReadResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: IsochronousStreamControlHandle,
method_type: MethodType,
},
}
Variants§
SetupDataPath
Create an isochronous data path with the specified parameters. Only in-band (HCI) ISO transport is currently supported.
Returns ZX_ERR_ALREADY_EXISTS if a ISO stream has already been created for this direction.
Returns ZX_ERR_BAD_STATE if issued on a peripheral before a CIS request has been accepted.
Returns ZX_ERR_INVALID_ARGS if the codec arguments are invalid or outside of the controller’s supported range.
Fields
responder: IsochronousStreamSetupDataPathResponder
Read
Receive data from an output (controller => host) ISO stream that has been established and set up. Designed to be used with a hanging get pattern.
Can be invoked before the ISO data stream has been established and set up, but will not return until after it has been set up and data has been received.
Fields
responder: IsochronousStreamReadResponder
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
control_handle: IsochronousStreamControlHandle
method_type: MethodType
Implementations§
Source§impl IsochronousStreamRequest
impl IsochronousStreamRequest
pub fn into_setup_data_path( self, ) -> Option<(IsochronousStreamSetupDataPathRequest, IsochronousStreamSetupDataPathResponder)>
pub fn into_read(self) -> Option<IsochronousStreamReadResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL