Trait hackrf_rs::IInterface
source · pub trait IInterface<R>: Sendwhere
R: IRequest,{
// Required methods
fn bulk_request(
&self,
endpoint: EndpointDescriptor,
data: Vec<u8, Global>,
timeout: Duration
) -> Result<R, Error>;
fn interrupt_request(
&self,
endpoint: EndpointDescriptor,
data: Vec<u8, Global>,
timeout: Duration
) -> Result<R, Error>;
}