#[repr(u32)]pub enum ReleaseNameReply {
Released = 1,
NonExistent = 2,
NotOwner = 3,
}
Expand description
The return code of the release_name
method.
Variants§
Released = 1
The caller has released their claim on the given name. Either the caller was the primary owner of the name, and the name is now unused or taken by somebody waiting in the queue for the name, or the caller was waiting in the queue for the name and has now been removed from the queue.
NonExistent = 2
The given name does not exist on this bus.
NotOwner = 3
The caller was not the primary owner of this name, and was also not waiting in the queue to own this name.
Trait Implementations§
source§impl Debug for ReleaseNameReply
impl Debug for ReleaseNameReply
source§impl<'de> Deserialize<'de> for ReleaseNameReply
impl<'de> Deserialize<'de> for ReleaseNameReply
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 ReleaseNameReply
impl PartialEq for ReleaseNameReply
source§impl Serialize for ReleaseNameReply
impl Serialize for ReleaseNameReply
source§impl Type for ReleaseNameReply
impl Type for ReleaseNameReply
impl Eq for ReleaseNameReply
impl StructuralPartialEq for ReleaseNameReply
Auto Trait Implementations§
impl Freeze for ReleaseNameReply
impl RefUnwindSafe for ReleaseNameReply
impl Send for ReleaseNameReply
impl Sync for ReleaseNameReply
impl Unpin for ReleaseNameReply
impl UnwindSafe for ReleaseNameReply
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