pub struct SecurityPolicyLayer { /* private fields */ }Implementations§
Source§impl SecurityPolicyLayer
impl SecurityPolicyLayer
pub fn new(policy: Arc<dyn SecurityPolicy>) -> Self
Trait Implementations§
Source§impl Clone for SecurityPolicyLayer
impl Clone for SecurityPolicyLayer
Source§fn clone(&self) -> SecurityPolicyLayer
fn clone(&self) -> SecurityPolicyLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for SecurityPolicyLayer
impl !UnwindSafe for SecurityPolicyLayer
impl Freeze for SecurityPolicyLayer
impl Send for SecurityPolicyLayer
impl Sync for SecurityPolicyLayer
impl Unpin for SecurityPolicyLayer
impl UnsafeUnpin for SecurityPolicyLayer
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