#[repr(C)]pub struct sock_tcp_queue {
pub lock: mutex_t,
pub tcbs: *mut gnrc_tcp_tcb_t,
pub tcbs_len: size_t,
}
Expand description
@brief Transmission control block queue.
Fields§
§lock: mutex_t
< Mutex for access synchronization
tcbs: *mut gnrc_tcp_tcb_t
< Pointer to TCB sequence
tcbs_len: size_t
< Number of TCBs behind member tcbs
Trait Implementations§
Source§impl Clone for sock_tcp_queue
impl Clone for sock_tcp_queue
Source§fn clone(&self) -> sock_tcp_queue
fn clone(&self) -> sock_tcp_queue
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 sock_tcp_queue
impl Debug for sock_tcp_queue
Source§impl Default for sock_tcp_queue
impl Default for sock_tcp_queue
impl Copy for sock_tcp_queue
Auto Trait Implementations§
impl Freeze for sock_tcp_queue
impl RefUnwindSafe for sock_tcp_queue
impl !Send for sock_tcp_queue
impl !Sync for sock_tcp_queue
impl Unpin for sock_tcp_queue
impl UnwindSafe for sock_tcp_queue
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§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
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes