pub enum Reject_RejectType {
None = 0,
WrongVersion = 1,
InvalidUsername = 2,
WrongUserPW = 3,
WrongServerPW = 4,
UsernameInUse = 5,
ServerFull = 6,
NoCertificate = 7,
AuthenticatorFail = 8,
}
Variants§
None = 0
WrongVersion = 1
InvalidUsername = 2
WrongUserPW = 3
WrongServerPW = 4
UsernameInUse = 5
ServerFull = 6
NoCertificate = 7
AuthenticatorFail = 8
Trait Implementations§
Source§impl Clone for Reject_RejectType
impl Clone for Reject_RejectType
Source§fn clone(&self) -> Reject_RejectType
fn clone(&self) -> Reject_RejectType
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 Reject_RejectType
impl Debug for Reject_RejectType
Source§impl Default for Reject_RejectType
impl Default for Reject_RejectType
Source§impl Hash for Reject_RejectType
impl Hash for Reject_RejectType
Source§impl PartialEq for Reject_RejectType
impl PartialEq for Reject_RejectType
Source§impl ProtobufEnum for Reject_RejectType
impl ProtobufEnum for Reject_RejectType
Source§fn from_i32(value: i32) -> Option<Reject_RejectType>
fn from_i32(value: i32) -> Option<Reject_RejectType>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for Reject_RejectType
impl ProtobufValue for Reject_RejectType
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for Reject_RejectType
impl Eq for Reject_RejectType
impl StructuralPartialEq for Reject_RejectType
Auto Trait Implementations§
impl Freeze for Reject_RejectType
impl RefUnwindSafe for Reject_RejectType
impl Send for Reject_RejectType
impl Sync for Reject_RejectType
impl Unpin for Reject_RejectType
impl UnwindSafe for Reject_RejectType
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