pub struct SctpStreamParametersRef<'a>(/* private fields */);
Expand description
Reference to a deserialized SctpStreamParameters.
Implementations§
Source§impl<'a> SctpStreamParametersRef<'a>
impl<'a> SctpStreamParametersRef<'a>
Sourcepub fn stream_id(&self) -> Result<u16>
pub fn stream_id(&self) -> Result<u16>
Getter for the stream_id
field.
Sourcepub fn max_packet_life_time(&self) -> Result<Option<u16>>
pub fn max_packet_life_time(&self) -> Result<Option<u16>>
Getter for the max_packet_life_time
field.
Sourcepub fn max_retransmits(&self) -> Result<Option<u16>>
pub fn max_retransmits(&self) -> Result<Option<u16>>
Getter for the max_retransmits
field.
Trait Implementations§
Source§impl<'a> Clone for SctpStreamParametersRef<'a>
impl<'a> Clone for SctpStreamParametersRef<'a>
Source§fn clone(&self) -> SctpStreamParametersRef<'a>
fn clone(&self) -> SctpStreamParametersRef<'a>
Returns a copy 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<'a> Debug for SctpStreamParametersRef<'a>
impl<'a> Debug for SctpStreamParametersRef<'a>
Source§impl<'a> ReadAsRoot<'a> for SctpStreamParametersRef<'a>
impl<'a> ReadAsRoot<'a> for SctpStreamParametersRef<'a>
Source§impl<'a> TryFrom<SctpStreamParametersRef<'a>> for SctpStreamParameters
impl<'a> TryFrom<SctpStreamParametersRef<'a>> for SctpStreamParameters
impl<'a> Copy for SctpStreamParametersRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SctpStreamParametersRef<'a>
impl<'a> RefUnwindSafe for SctpStreamParametersRef<'a>
impl<'a> Send for SctpStreamParametersRef<'a>
impl<'a> Sync for SctpStreamParametersRef<'a>
impl<'a> Unpin for SctpStreamParametersRef<'a>
impl<'a> UnwindSafe for SctpStreamParametersRef<'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