@@ -8,9 +8,7 @@ use zbus::zvariant::{signature::Child, Basic, Signature, Type, Value};
88
99use crate :: {
1010 dbus:: util:: result_option_to_tuple,
11- engine:: {
12- ActionAvailability , DevUuid , FilesystemUuid , LockedPoolsInfo , PoolUuid , StoppedPoolsInfo ,
13- } ,
11+ engine:: { ActionAvailability , LockedPoolsInfo , PoolUuid , StoppedPoolsInfo } ,
1412} ;
1513
1614pub type FilesystemSpec < ' a > = Vec < ( & ' a str , ( bool , & ' a str ) , ( bool , & ' a str ) ) > ;
@@ -249,36 +247,6 @@ impl<'a> From<PoolUuid> for Value<'a> {
249247 }
250248}
251249
252- impl Basic for FilesystemUuid {
253- const SIGNATURE_CHAR : char = 's' ;
254- const SIGNATURE_STR : & str = "s" ;
255- }
256-
257- impl Type for FilesystemUuid {
258- const SIGNATURE : & Signature = & Signature :: Str ;
259- }
260-
261- impl < ' a > From < FilesystemUuid > for Value < ' a > {
262- fn from ( u : FilesystemUuid ) -> Value < ' a > {
263- Value :: from ( u. simple ( ) . to_string ( ) )
264- }
265- }
266-
267- impl Basic for DevUuid {
268- const SIGNATURE_CHAR : char = 's' ;
269- const SIGNATURE_STR : & str = "s" ;
270- }
271-
272- impl Type for DevUuid {
273- const SIGNATURE : & Signature = & Signature :: Str ;
274- }
275-
276- impl < ' a > From < DevUuid > for Value < ' a > {
277- fn from ( u : DevUuid ) -> Value < ' a > {
278- Value :: from ( u. simple ( ) . to_string ( ) )
279- }
280- }
281-
282250impl Type for ActionAvailability {
283251 const SIGNATURE : & Signature = & Signature :: Str ;
284252}
0 commit comments