pub struct SecurityParameters {
pub little: Vec<Parameter>,
pub big: Vec<Parameter>,
}Expand description
The parameters of DDS Security in a discovery parameter list (ids
0x1000..=0x1fff and 0x5000..=0x5fff, DDS Security 1.2, 7.5.1.3),
kept as octets for the security plugins. Their values depend on the
byte order of the list, so each order has its own copy: a list read
fills the one of its order; a list to write uses the one of its order.
Fields§
§little: Vec<Parameter>The parameters with little-endian values.
big: Vec<Parameter>The parameters with big-endian values.
Implementations§
Source§impl SecurityParameters
impl SecurityParameters
Sourcepub const fn is_security(id: ParameterId) -> bool
pub const fn is_security(id: ParameterId) -> bool
Whether id is one of DDS Security’s.
Sourcepub fn of(&self, e: Endianness) -> &[Parameter]
pub fn of(&self, e: Endianness) -> &[Parameter]
The parameters in e order.
Sourcepub fn any(&self) -> Option<(&[Parameter], Endianness)>
pub fn any(&self) -> Option<(&[Parameter], Endianness)>
The parameters in either order, and that order: what a list read had.
Sourcepub fn push(&mut self, p: Parameter, e: Endianness)
pub fn push(&mut self, p: Parameter, e: Endianness)
Keeps p, read in e order.
Trait Implementations§
Source§impl Clone for SecurityParameters
impl Clone for SecurityParameters
Source§impl Debug for SecurityParameters
impl Debug for SecurityParameters
Source§impl Default for SecurityParameters
impl Default for SecurityParameters
impl Eq for SecurityParameters
Source§impl Hash for SecurityParameters
impl Hash for SecurityParameters
Source§impl PartialEq for SecurityParameters
impl PartialEq for SecurityParameters
impl StructuralPartialEq for SecurityParameters
Auto Trait Implementations§
impl Forget for SecurityParameters
impl Freeze for SecurityParameters
impl Move for SecurityParameters
impl RefUnwindSafe for SecurityParameters
impl Send for SecurityParameters
impl Sync for SecurityParameters
impl Unpin for SecurityParameters
impl UnsafeUnpin for SecurityParameters
impl UnwindSafe for SecurityParameters
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