#[repr(u8)]pub enum CreateConnectionChannelError {
NoError = 0,
MaxPendingConnectionsReached = 1,
}Variants§
Trait Implementations§
Source§impl Clone for CreateConnectionChannelError
impl Clone for CreateConnectionChannelError
Source§fn clone(&self) -> CreateConnectionChannelError
fn clone(&self) -> CreateConnectionChannelError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreateConnectionChannelError
Source§impl Debug for CreateConnectionChannelError
impl Debug for CreateConnectionChannelError
impl Eq for CreateConnectionChannelError
Source§impl From<CreateConnectionChannelError> for u8
impl From<CreateConnectionChannelError> for u8
Source§fn from(enum_value: CreateConnectionChannelError) -> Self
fn from(enum_value: CreateConnectionChannelError) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateConnectionChannelError
impl Hash for CreateConnectionChannelError
impl StructuralPartialEq for CreateConnectionChannelError
Source§impl TryFrom<u8> for CreateConnectionChannelError
impl TryFrom<u8> for CreateConnectionChannelError
Source§type Error = TryFromPrimitiveError<CreateConnectionChannelError>
type Error = TryFromPrimitiveError<CreateConnectionChannelError>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for CreateConnectionChannelError
impl TryFromPrimitive for CreateConnectionChannelError
const NAME: &'static str = "CreateConnectionChannelError"
type Primitive = u8
type Error = TryFromPrimitiveError<CreateConnectionChannelError>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for CreateConnectionChannelError
impl RefUnwindSafe for CreateConnectionChannelError
impl Send for CreateConnectionChannelError
impl Sync for CreateConnectionChannelError
impl Unpin for CreateConnectionChannelError
impl UnsafeUnpin for CreateConnectionChannelError
impl UnwindSafe for CreateConnectionChannelError
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