mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Only create the RsdService trait with the rsd feature
This commit is contained in:
@@ -65,6 +65,7 @@ pub trait IdeviceService: Sized {
|
|||||||
) -> impl std::future::Future<Output = Result<Self, IdeviceError>> + Send;
|
) -> impl std::future::Future<Output = Result<Self, IdeviceError>> + Send;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "rsd")]
|
||||||
pub trait RsdService: Sized {
|
pub trait RsdService: Sized {
|
||||||
fn rsd_service_name() -> &'static str;
|
fn rsd_service_name() -> &'static str;
|
||||||
fn from_stream(
|
fn from_stream(
|
||||||
|
|||||||
Reference in New Issue
Block a user