pub struct SecurityTransports {
pub tls: Option<Priority>,
pub noise: Option<Priority>,
}Expand description
Security transport configuration
Fields§
§tls: Option<Priority>TLS priority (default: 100)
noise: Option<Priority>Noise priority (default: 300)
Trait Implementations§
Source§impl Clone for SecurityTransports
impl Clone for SecurityTransports
Source§fn clone(&self) -> SecurityTransports
fn clone(&self) -> SecurityTransports
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 SecurityTransports
impl Debug for SecurityTransports
Source§impl Default for SecurityTransports
impl Default for SecurityTransports
Source§fn default() -> SecurityTransports
fn default() -> SecurityTransports
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecurityTransports
impl<'de> Deserialize<'de> for SecurityTransports
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecurityTransports
impl RefUnwindSafe for SecurityTransports
impl Send for SecurityTransports
impl Sync for SecurityTransports
impl Unpin for SecurityTransports
impl UnwindSafe for SecurityTransports
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