fn make_request(
        client: &di::DeviceIdentificationProxy,
        primary: bool,
    ) -> (di::DeviceIdentificationHandleProxy, QueryResponseFut<Result<(), i32>>) {
        let records = vec![minimal_record(primary)];
        let (token_client, token_server) =
            fidl::endpoints::create_proxy::<di::DeviceIdentificationHandleMarker>()
                .expect("valid endpoints");
        let request_fut = client
            .set_device_identification(&mut records.into_iter(), token_server)
            .check()
            .expect("valid fidl request");
        (token_client, request_fut)
    }
/// Makes a SetDeviceIdentification request to the server.
/// `primary` specifies if the requested DI record is the primary record.
Makes a SetDeviceIdentification request to the server.
`primary` specifies if the requested DI record is the primary record.
Makes a SetDeviceIdentification request to the server . ` primary ` specifies if the requested DI record is the primary record .
fn make_request(
        client: &di::DeviceIdentificationProxy,
        primary: bool,
    ) -> (di::DeviceIdentificationHandleProxy, QueryResponseFut<Result<(), i32>>) {
        let records = vec![minimal_record(primary)];
        let (token_client, token_server) =
            fidl::endpoints::create_proxy::<di::DeviceIdentificationHandleMarker>()
                .expect("valid endpoints");
        let request_fut = client
            .set_device_identification(&mut records.into_iter(), token_server)
            .check()
            .expect("valid fidl request");
        (token_client, request_fut)
    }
fn make_request ( client : & di :: DeviceIdentificationProxy , primary : bool , ) -> ( di :: DeviceIdentificationHandleProxy , QueryResponseFut < Result < ( ) , i32 > > ) { let records = vec ! [ minimal_record ( primary ) ] ; let ( token_client , token_server ) = fidl :: endpoints :: create_proxy :: < di :: DeviceIdentificationHandleMarker > ( ) . expect ( " " ) ; let request_fut = client . set_device_identification ( & mut records . into_iter ( ) , token_server ) . check ( ) . expect ( " " ) ; ( token_client , request_fut ) }
Makes a SetDeviceIdentification request to the server.
Makes a SetDeviceIdentification request to the server .
client
&di::DeviceIdentificationProxy
primary
bool
client
&di::DeviceIdentificationProxy
primary
bool