#[repr(u32)]pub enum RequestNameReply {
PrimaryOwner = 1,
InQueue = 2,
Exists = 3,
AlreadyOwner = 4,
}Expand description
The return code of the DBusProxy::request_name method.
Variants§
PrimaryOwner = 1
The caller is now the primary owner of the name, replacing any previous owner. Either the
name had no owner before, or the caller specified RequestNameFlags::ReplaceExisting and
the current owner specified RequestNameFlags::AllowReplacement.
InQueue = 2
The name already had an owner, RequestNameFlags::DoNotQueue was not specified, and
either the current owner did not specify RequestNameFlags::AllowReplacement or the
requesting application did not specify RequestNameFlags::ReplaceExisting.
Exists = 3
The name already had an owner, RequestNameFlags::DoNotQueue was specified, and either
RequestNameFlags::AllowReplacement was not specified by the current owner, or
RequestNameFlags::ReplaceExisting was not specified by the requesting application.
AlreadyOwner = 4
The application trying to request ownership of a name is already the owner of it.
Trait Implementations§
Source§impl Debug for RequestNameReply
impl Debug for RequestNameReply
Source§impl<'de> Deserialize<'de> for RequestNameReply
impl<'de> Deserialize<'de> for RequestNameReply
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>,
Source§impl Display for RequestNameReply
impl Display for RequestNameReply
Source§impl PartialEq for RequestNameReply
impl PartialEq for RequestNameReply
Source§fn eq(&self, other: &RequestNameReply) -> bool
fn eq(&self, other: &RequestNameReply) -> bool
self and other values to be equal, and is used by ==.