pub struct Policy(/* private fields */);
Implementations§
source§impl Policy
impl Policy
sourcepub fn from_version(version: &str) -> Result<Policy, Error>
pub fn from_version(version: &str) -> Result<Policy, Error>
See the s2n-tls usage guide for details on available policies: https://aws.github.io/s2n-tls/usage-guide/ch06-security-policies.html
Trait Implementations§
source§impl PartialEq for Policy
impl PartialEq for Policy
impl StructuralPartialEq for Policy
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnwindSafe for Policy
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