Enum aldrin_core::message::DestroyServiceResult
source · #[repr(u8)]pub enum DestroyServiceResult {
Ok = 0,
InvalidService = 1,
ForeignObject = 2,
}Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for DestroyServiceResult
impl<'arbitrary> Arbitrary<'arbitrary> for DestroyServiceResult
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for DestroyServiceResult
impl Clone for DestroyServiceResult
source§fn clone(&self) -> DestroyServiceResult
fn clone(&self) -> DestroyServiceResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DestroyServiceResult
impl Debug for DestroyServiceResult
source§impl From<DestroyServiceResult> for u8
impl From<DestroyServiceResult> for u8
source§fn from(enum_value: DestroyServiceResult) -> Self
fn from(enum_value: DestroyServiceResult) -> Self
Converts to this type from the input type.
source§impl PartialEq for DestroyServiceResult
impl PartialEq for DestroyServiceResult
source§fn eq(&self, other: &DestroyServiceResult) -> bool
fn eq(&self, other: &DestroyServiceResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for DestroyServiceResult
impl TryFrom<u8> for DestroyServiceResult
§type Error = TryFromPrimitiveError<DestroyServiceResult>
type Error = TryFromPrimitiveError<DestroyServiceResult>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for DestroyServiceResult
impl TryFromPrimitive for DestroyServiceResult
type Primitive = u8
type Error = TryFromPrimitiveError<DestroyServiceResult>
const NAME: &'static str = "DestroyServiceResult"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for DestroyServiceResult
impl Eq for DestroyServiceResult
impl StructuralEq for DestroyServiceResult
impl StructuralPartialEq for DestroyServiceResult
Auto Trait Implementations§
impl RefUnwindSafe for DestroyServiceResult
impl Send for DestroyServiceResult
impl Sync for DestroyServiceResult
impl Unpin for DestroyServiceResult
impl UnwindSafe for DestroyServiceResult
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