pub struct ApplicationTag0<T>(pub T);Expand description
This ApplicationTag0 is different from the [ApplicationTag]. [ApplicationTag] works as a wrapper over the inner value but ApplicationTag0 decodes/encodes inner type fields as its own fields
Note: The corresponding ASN1 type of the inner type is expected to be a SEQUENCE.
In other words, the deserialization of something like ApplicationTag0<BitString> will fail
or produce invalid value.
This is because of the deserialization workaround we wrote to support weird Microsoft GSS API message.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Debug> Debug for ApplicationTag0<T>
impl<T: Debug> Debug for ApplicationTag0<T>
Source§impl<'de, T: DeserializeOwned> Deserialize<'de> for ApplicationTag0<T>
impl<'de, T: DeserializeOwned> Deserialize<'de> for ApplicationTag0<T>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: PartialEq> PartialEq for ApplicationTag0<T>
impl<T: PartialEq> PartialEq for ApplicationTag0<T>
Source§impl<T: Serialize + Debug + PartialEq> Serialize for ApplicationTag0<T>
impl<T: Serialize + Debug + PartialEq> Serialize for ApplicationTag0<T>
Source§fn serialize<S>(&self, serializer: S) -> Result<<S as Serializer>::Ok, S::Error>where
S: Serializer,
fn serialize<S>(&self, serializer: S) -> Result<<S as Serializer>::Ok, S::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T: Eq> Eq for ApplicationTag0<T>
impl<T> StructuralPartialEq for ApplicationTag0<T>
Auto Trait Implementations§
impl<T> Freeze for ApplicationTag0<T>where
T: Freeze,
impl<T> RefUnwindSafe for ApplicationTag0<T>where
T: RefUnwindSafe,
impl<T> Send for ApplicationTag0<T>where
T: Send,
impl<T> Sync for ApplicationTag0<T>where
T: Sync,
impl<T> Unpin for ApplicationTag0<T>where
T: Unpin,
impl<T> UnwindSafe for ApplicationTag0<T>where
T: UnwindSafe,
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