1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Copyright (c) 2025 Ant Group // // SPDX-License-Identifier: Apache-2.0 // pub type Result<T> = std::result::Result<T, Error>; #[derive(Debug, thiserror::Error)] pub enum Error { #[error("invalid properties")] InvalidProperties, #[error("dbus error: {0}")] Dbus(#[from] zbus::Error), }