pub struct SctpStreamParameters {
pub stream_id: u16,
pub ordered: Option<bool>,
pub max_packet_life_time: Option<u16>,
pub max_retransmits: Option<u16>,
}
Expand description
The table SctpStreamParameters
in the namespace FBS.SctpParameters
Generated from these locations:
- Table
SctpStreamParameters
in the filefbs/sctpParameters.fbs:19
Fields§
§stream_id: u16
The field stream_id
in the table SctpStreamParameters
ordered: Option<bool>
The field ordered
in the table SctpStreamParameters
max_packet_life_time: Option<u16>
The field max_packet_life_time
in the table SctpStreamParameters
max_retransmits: Option<u16>
The field max_retransmits
in the table SctpStreamParameters
Implementations§
Source§impl SctpStreamParameters
impl SctpStreamParameters
Sourcepub fn builder() -> SctpStreamParametersBuilder<()>
pub fn builder() -> SctpStreamParametersBuilder<()>
Creates a SctpStreamParametersBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_stream_id: impl WriteAsDefault<u16, u16>, field_ordered: impl WriteAsOptional<bool>, field_max_packet_life_time: impl WriteAsOptional<u16>, field_max_retransmits: impl WriteAsOptional<u16>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for SctpStreamParameters
impl Clone for SctpStreamParameters
Source§fn clone(&self) -> SctpStreamParameters
fn clone(&self) -> SctpStreamParameters
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 Debug for SctpStreamParameters
impl Debug for SctpStreamParameters
Source§impl Default for SctpStreamParameters
impl Default for SctpStreamParameters
Source§impl<'de> Deserialize<'de> for SctpStreamParameters
impl<'de> Deserialize<'de> for SctpStreamParameters
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
Source§impl Hash for SctpStreamParameters
impl Hash for SctpStreamParameters
Source§impl Ord for SctpStreamParameters
impl Ord for SctpStreamParameters
Source§fn cmp(&self, other: &SctpStreamParameters) -> Ordering
fn cmp(&self, other: &SctpStreamParameters) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SctpStreamParameters
impl PartialEq for SctpStreamParameters
Source§impl PartialOrd for SctpStreamParameters
impl PartialOrd for SctpStreamParameters
Source§impl Serialize for SctpStreamParameters
impl Serialize for SctpStreamParameters
Source§impl<'a> TryFrom<SctpStreamParametersRef<'a>> for SctpStreamParameters
impl<'a> TryFrom<SctpStreamParametersRef<'a>> for SctpStreamParameters
impl Eq for SctpStreamParameters
impl StructuralPartialEq for SctpStreamParameters
impl VectorWrite<Offset<SctpStreamParameters>> for SctpStreamParameters
impl WriteAs<Offset<SctpStreamParameters>> for SctpStreamParameters
impl WriteAsOffset<SctpStreamParameters> for SctpStreamParameters
impl<T0: WriteAsDefault<u16, u16>, T1: WriteAsOptional<bool>, T2: WriteAsOptional<u16>, T3: WriteAsOptional<u16>> WriteAsOffset<SctpStreamParameters> for SctpStreamParametersBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<SctpStreamParameters>> for SctpStreamParameters
Auto Trait Implementations§
impl Freeze for SctpStreamParameters
impl RefUnwindSafe for SctpStreamParameters
impl Send for SctpStreamParameters
impl Sync for SctpStreamParameters
impl Unpin for SctpStreamParameters
impl UnwindSafe for SctpStreamParameters
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