Enum zbus::fdo::RequestNameReply
source · [−]#[repr(u32)]
pub enum RequestNameReply {
PrimaryOwner,
InQueue,
Exists,
AlreadyOwner,
}
Expand description
The return code of the request_name
method.
Variants
PrimaryOwner
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
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
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
The application trying to request ownership of a name is already the owner of it.
Trait Implementations
sourceimpl Debug for RequestNameReply
impl Debug for RequestNameReply
sourceimpl<'de> Deserialize<'de> for RequestNameReply
impl<'de> Deserialize<'de> for RequestNameReply
sourcefn 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
sourceimpl PartialEq<RequestNameReply> for RequestNameReply
impl PartialEq<RequestNameReply> for RequestNameReply
sourceimpl Serialize for RequestNameReply
impl Serialize for RequestNameReply
sourceimpl Type for RequestNameReply
impl Type for RequestNameReply
impl StructuralPartialEq for RequestNameReply
Auto Trait Implementations
impl RefUnwindSafe for RequestNameReply
impl Send for RequestNameReply
impl Sync for RequestNameReply
impl Unpin for RequestNameReply
impl UnwindSafe for RequestNameReply
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'de, T> DynamicDeserialize<'de> for T where
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for T where
T: Type + Deserialize<'de> + ?Sized,
type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
sourcefn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error> where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error> where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
sourceimpl<T> DynamicType for T where
T: Type + ?Sized,
impl<T> DynamicType for T where
T: Type + ?Sized,
sourcefn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more