Struct ndisapi_rs::RasLinks
source · #[repr(C, packed)]pub struct RasLinks {
pub ras_links: [RasLinkInformation; 256],
/* private fields */
}
Expand description
This structure is a container for RAS (Remote Access Service) link information structures.
A Rust equivalent for the _RAS_LINKS structure. Note that this struct may be too large to be allocated on the stack in Rust and may result in a stack overflow.
Fields§
§ras_links: [RasLinkInformation; 256]
The array of RAS link information structures.
Implementations§
Trait Implementations§
source§impl Default for RasLinks
impl Default for RasLinks
source§fn default() -> Self
fn default() -> Self
Returns a zero-initialized instance of RasLinks
.
Safety
This structure is filled by the information by NDIS filter driver when passed as a memory buffer along with IOCTL_NDISRD_GET_RAS_LINKS. It is safe to be zeroed because contains only values and arrays that can be default initialized with zeroes.
impl Copy for RasLinks
Auto Trait Implementations§
impl RefUnwindSafe for RasLinks
impl Send for RasLinks
impl Sync for RasLinks
impl Unpin for RasLinks
impl UnwindSafe for RasLinks
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