#[repr(u32)]pub enum RequestNameReply {
PrimaryOwner = 1,
InQueue = 2,
Exists = 3,
AlreadyOwner = 4,
}
Expand description
The return code of the 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 ReplaceExisting
and the current owner
specified AllowReplacement
.
InQueue = 2
The name already had an owner, DoNotQueue
was not specified, and either the current
owner did not specify AllowReplacement
or the requesting application did not specify
ReplaceExisting
.
Exists = 3
The name already had an owner, DoNotQueue
was specified, and either
AllowReplacement
was not specified by the current owner, or 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RequestNameReply
impl PartialEq for RequestNameReply
Source§impl Serialize for RequestNameReply
impl Serialize for RequestNameReply
Source§impl Type for RequestNameReply
impl Type for RequestNameReply
impl Eq for RequestNameReply
impl StructuralPartialEq for RequestNameReply
Auto Trait Implementations§
impl Freeze for RequestNameReply
impl RefUnwindSafe for RequestNameReply
impl Send for RequestNameReply
impl Sync for RequestNameReply
impl Unpin for RequestNameReply
impl UnwindSafe for RequestNameReply
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.