#[repr(u32)]pub enum HandshakeFailure {
Show 20 variants
ZmtpUnspecified = 268_435_456,
ZmtpUnexpectedCommand = 268_435_457,
ZmtpInvalidSequence = 268_435_458,
ZmtpKeyExchange = 268_435_459,
ZmtpMalformedCommandUnspecified = 268_435_473,
ZmtpMalformedCommandMessage = 268_435_474,
ZmtpMalformedCommandHello = 268_435_475,
ZmtpMalformedCommandInitiate = 268_435_476,
ZmtpMalformedCommandError = 268_435_477,
ZmtpMalformedCommandReady = 268_435_478,
ZmtpMalformedCommandWelcome = 268_435_479,
ZmtpInvalidMetadata = 268_435_480,
ZmtpCryptographic = 285_212_673,
ZmtpMechanismMismatch = 285_212_674,
ZapUnspecified = 536_870_912,
ZapMalformedReply = 536_870_913,
ZapBadRequestId = 536_870_914,
ZapBadVersion = 536_870_915,
ZapInvalidStatusCode = 536_870_916,
ZapInvalidMetadata = 536_870_917,
}
Expand description
Possible values for the ZMQ_EVENT_HANDSHAKE_FAILED_PROTOCOL socket event.
Variants§
ZmtpUnspecified = 268_435_456
ZmtpUnexpectedCommand = 268_435_457
ZmtpInvalidSequence = 268_435_458
ZmtpKeyExchange = 268_435_459
ZmtpMalformedCommandUnspecified = 268_435_473
ZmtpMalformedCommandMessage = 268_435_474
ZmtpMalformedCommandHello = 268_435_475
ZmtpMalformedCommandInitiate = 268_435_476
ZmtpMalformedCommandError = 268_435_477
ZmtpMalformedCommandReady = 268_435_478
ZmtpMalformedCommandWelcome = 268_435_479
ZmtpInvalidMetadata = 268_435_480
ZmtpCryptographic = 285_212_673
ZmtpMechanismMismatch = 285_212_674
ZapUnspecified = 536_870_912
ZapMalformedReply = 536_870_913
ZapBadRequestId = 536_870_914
ZapBadVersion = 536_870_915
ZapInvalidStatusCode = 536_870_916
ZapInvalidMetadata = 536_870_917
Implementations§
Trait Implementations§
source§impl Clone for HandshakeFailure
impl Clone for HandshakeFailure
source§fn clone(&self) -> HandshakeFailure
fn clone(&self) -> HandshakeFailure
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 HandshakeFailure
impl Debug for HandshakeFailure
source§impl PartialEq for HandshakeFailure
impl PartialEq for HandshakeFailure
source§fn eq(&self, other: &HandshakeFailure) -> bool
fn eq(&self, other: &HandshakeFailure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HandshakeFailure
impl Eq for HandshakeFailure
impl StructuralPartialEq for HandshakeFailure
Auto Trait Implementations§
impl Freeze for HandshakeFailure
impl RefUnwindSafe for HandshakeFailure
impl Send for HandshakeFailure
impl Sync for HandshakeFailure
impl Unpin for HandshakeFailure
impl UnwindSafe for HandshakeFailure
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)