#[repr(u32)]pub enum StartServiceReply {
Success = 1,
AlreadyRunning = 2,
}
Expand description
The return code of the DBusProxy::start_service_by_name
method.
In zbus 6.0, this will become the return type of start_service_by_name
.
For now, it’s provided separately with a TryFrom<u32>
implementation
to avoid breaking changes in the API.
Variants§
Success = 1
The service was successfully started.
AlreadyRunning = 2
The service was already running.
Trait Implementations§
Source§impl Debug for StartServiceReply
impl Debug for StartServiceReply
Source§impl<'de> Deserialize<'de> for StartServiceReply
impl<'de> Deserialize<'de> for StartServiceReply
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StartServiceReply
impl PartialEq for StartServiceReply
Source§impl Serialize for StartServiceReply
impl Serialize for StartServiceReply
Source§impl TryFrom<u32> for StartServiceReply
impl TryFrom<u32> for StartServiceReply
Source§impl Type for StartServiceReply
impl Type for StartServiceReply
impl Eq for StartServiceReply
impl StructuralPartialEq for StartServiceReply
Auto Trait Implementations§
impl Freeze for StartServiceReply
impl RefUnwindSafe for StartServiceReply
impl Send for StartServiceReply
impl Sync for StartServiceReply
impl Unpin for StartServiceReply
impl UnwindSafe for StartServiceReply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.