#[repr(u8)]pub enum NegState {
AcceptCompleted = 0,
AcceptIncomplete = 1,
Reject = 2,
RequestMic = 3,
}
Variants§
AcceptCompleted = 0
No further negotiation message from the peer is expected, and the security context is established for the sender.
AcceptIncomplete = 1
At least one additional negotiation message from the peer is needed to establish the security context.
Reject = 2
The sender terminates the negotiation.
RequestMic = 3
The sender indicates that the exchange of MIC tokens, as described in Section 5, will be REQUIRED if per-message integrity services are available on the mechanism context to be established. This value SHALL only be present in the first reply from the target.
Trait Implementations§
Source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for NegState
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for NegState
Source§impl EncodeValue for NegState
impl EncodeValue for NegState
Source§impl Ord for NegState
impl Ord for NegState
Source§impl PartialOrd for NegState
impl PartialOrd for NegState
impl Copy for NegState
impl Eq for NegState
impl StructuralPartialEq for NegState
Auto Trait Implementations§
impl Freeze for NegState
impl RefUnwindSafe for NegState
impl Send for NegState
impl Sync for NegState
impl Unpin for NegState
impl UnwindSafe for NegState
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§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
Source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer
.
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.