Struct BsfInfo
#[repr(C)]pub struct BsfInfo {
pub valid: u8,
pub proto: AddrProto,
pub port: u16,
pub addr_len: u32,
pub addr: [c_char; 255],
}Fields§
§valid: u8Indicates whether following BSF information is provided, 1 - yes, 0 -no
proto: AddrProtoProtocol type for the BSF.
port: u16Port number for the BSF.
addr_len: u32Must be set to the number of elements in address.
addr: [c_char; 255]Identifies the address of the bootstrapping server function.
Auto Trait Implementations§
impl Freeze for BsfInfo
impl RefUnwindSafe for BsfInfo
impl Send for BsfInfo
impl Sync for BsfInfo
impl Unpin for BsfInfo
impl UnwindSafe for BsfInfo
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