Struct libc::sctp_initmsg
source · #[repr(C)]pub struct sctp_initmsg {
pub sinit_num_ostreams: __u16,
pub sinit_max_instreams: __u16,
pub sinit_max_attempts: __u16,
pub sinit_max_init_timeo: __u16,
}
Fields§
§sinit_num_ostreams: __u16
§sinit_max_instreams: __u16
§sinit_max_attempts: __u16
§sinit_max_init_timeo: __u16
Trait Implementations§
source§impl Clone for sctp_initmsg
impl Clone for sctp_initmsg
source§fn clone(&self) -> sctp_initmsg
fn clone(&self) -> sctp_initmsg
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 sctp_initmsg
impl Debug for sctp_initmsg
source§impl Hash for sctp_initmsg
impl Hash for sctp_initmsg
source§impl PartialEq for sctp_initmsg
impl PartialEq for sctp_initmsg
source§fn eq(&self, other: &sctp_initmsg) -> bool
fn eq(&self, other: &sctp_initmsg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for sctp_initmsg
impl Eq for sctp_initmsg
impl StructuralPartialEq for sctp_initmsg
Auto Trait Implementations§
impl Freeze for sctp_initmsg
impl RefUnwindSafe for sctp_initmsg
impl Send for sctp_initmsg
impl Sync for sctp_initmsg
impl Unpin for sctp_initmsg
impl UnwindSafe for sctp_initmsg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)