[−][src]Struct srtp::session::StreamPolicy
SRTP stream policy
Fields
rtp: CryptoPolicy
SRTP crypto policy.
rtcp: CryptoPolicy
SRTCP crypto policy.
key: &'a [u8]
Master key for this stream.
window_size: u64
The window size to use for replay protection.
Pass 0 to use the default value.
allow_repeat_tx: bool
Whether retransmission of packets with the same sequence number are allowed.
Note that such repeated transmission must have the same RTP payload, or a severe security weakness is introduced!
encrypt_extension_headers: &'a [i32]
List of header ids to encrypt.
Trait Implementations
impl<'a> Clone for StreamPolicy<'a>
[src]
pub fn clone(&self) -> StreamPolicy<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for StreamPolicy<'a>
[src]
impl<'a> Debug for StreamPolicy<'a>
[src]
impl<'a> Default for StreamPolicy<'a>
[src]
pub fn default() -> StreamPolicy<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for StreamPolicy<'a>
impl<'a> Send for StreamPolicy<'a>
impl<'a> Sync for StreamPolicy<'a>
impl<'a> Unpin for StreamPolicy<'a>
impl<'a> UnwindSafe for StreamPolicy<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,