pub struct IPSECKEY<'a> {
pub precedence: u8,
pub algorithm: u8,
pub gateway: Gateway<'a>,
pub public_key: Cow<'a, [u8]>,
}
Expand description
IPSECKEY record type stores information about IPsec key material
Fields§
§precedence: u8
Precedence for this record, lower values are preferred
algorithm: u8
Public key algorithm (1=DSA, 2=RSA)
gateway: Gateway<'a>
Domain name of the gateway
public_key: Cow<'a, [u8]>
The public key material
Implementations§
Trait Implementations§
impl<'a> Eq for IPSECKEY<'a>
impl<'a> StructuralPartialEq for IPSECKEY<'a>
Auto Trait Implementations§
impl<'a> Freeze for IPSECKEY<'a>
impl<'a> RefUnwindSafe for IPSECKEY<'a>
impl<'a> Send for IPSECKEY<'a>
impl<'a> Sync for IPSECKEY<'a>
impl<'a> Unpin for IPSECKEY<'a>
impl<'a> UnwindSafe for IPSECKEY<'a>
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