Enum zbus::fdo::RequestNameReply
source · #[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 has 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 T
impl<'de, T> DynamicDeserialize<'de> for T
source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more