pub struct SymmetricSecurityHeader {
pub token_id: u32,
}Expand description
Security header for symmetric encryption.
Fields§
§token_id: u32Security token ID.
Trait Implementations§
Source§impl Clone for SymmetricSecurityHeader
impl Clone for SymmetricSecurityHeader
Source§fn clone(&self) -> SymmetricSecurityHeader
fn clone(&self) -> SymmetricSecurityHeader
Returns a duplicate 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 SymmetricSecurityHeader
impl Debug for SymmetricSecurityHeader
Source§impl PartialEq for SymmetricSecurityHeader
impl PartialEq for SymmetricSecurityHeader
Source§impl SimpleBinaryDecodable for SymmetricSecurityHeader
impl SimpleBinaryDecodable for SymmetricSecurityHeader
Source§fn decode<S>(
stream: &mut S,
decoding_options: &DecodingOptions,
) -> Result<SymmetricSecurityHeader, Error>
fn decode<S>( stream: &mut S, decoding_options: &DecodingOptions, ) -> Result<SymmetricSecurityHeader, Error>
Decode Self from the byte stream.
Source§impl SimpleBinaryEncodable for SymmetricSecurityHeader
impl SimpleBinaryEncodable for SymmetricSecurityHeader
impl StructuralPartialEq for SymmetricSecurityHeader
Auto Trait Implementations§
impl Freeze for SymmetricSecurityHeader
impl RefUnwindSafe for SymmetricSecurityHeader
impl Send for SymmetricSecurityHeader
impl Sync for SymmetricSecurityHeader
impl Unpin for SymmetricSecurityHeader
impl UnsafeUnpin for SymmetricSecurityHeader
impl UnwindSafe for SymmetricSecurityHeader
Blanket Implementations§
Source§impl<T> BinaryDecodable for Twhere
T: SimpleBinaryDecodable,
impl<T> BinaryDecodable for Twhere
T: SimpleBinaryDecodable,
Source§fn decode<S>(stream: &mut S, ctx: &Context<'_>) -> Result<T, Error>
fn decode<S>(stream: &mut S, ctx: &Context<'_>) -> Result<T, Error>
Decodes an instance from the read stream. The decoding options contains restrictions set by
the server / client on the length of strings, arrays etc. If these limits are exceeded the
implementation should return with a
BadDecodingError as soon as possible.Source§impl<T> BinaryEncodable for Twhere
T: SimpleBinaryEncodable,
impl<T> BinaryEncodable for Twhere
T: SimpleBinaryEncodable,
Source§fn byte_len(&self, _ctx: &Context<'_>) -> usize
fn byte_len(&self, _ctx: &Context<'_>) -> usize
Returns the exact byte length of the structure as it would be if
encode were called.
This may be called prior to writing to ensure the correct amount of space is available.Source§fn encode<S>(&self, stream: &mut S, _ctx: &Context<'_>) -> Result<(), Error>
fn encode<S>(&self, stream: &mut S, _ctx: &Context<'_>) -> Result<(), Error>
Encodes the instance to the write stream.
Source§fn override_encoding(&self) -> Option<BuiltInDataEncoding>
fn override_encoding(&self) -> Option<BuiltInDataEncoding>
Override the extension object encoding used for this type.
This only makes sense if the type can only ever be encoded using a single
built-in encoding.
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