#[repr(C)]pub struct tls_desc {
pub resolver: *mut c_void,
pub value: u64,
}
Expand description
A TLS desc struct, with a resolver and value
Fields§
§resolver: *mut c_void
Pointer to resolver
value: u64
Value to pass to the resolver
Trait Implementations§
Auto Trait Implementations§
impl Freeze for tls_desc
impl RefUnwindSafe for tls_desc
impl !Send for tls_desc
impl !Sync for tls_desc
impl Unpin for tls_desc
impl UnwindSafe for tls_desc
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