extern structstd.os.uefi.protocol.managed_network.ManagedNetwork.ServiceBinding[src]

Fields

_create_child: *const fn (*const ServiceBinding, *?Handle) callconv(cc) Status
_destroy_child: *const fn (*const ServiceBinding, Handle) callconv(cc) Status

Values

Constantguid[src]

Source Code

Source code
pub const guid align(8) = Guid{
    .time_low = 0xf36ff770,
    .time_mid = 0xa7e1,
    .time_high_and_version = 0x42cf,
    .clock_seq_high_and_reserved = 0x9e,
    .clock_seq_low = 0xd2,
    .node = [_]u8{ 0x56, 0xf0, 0xf2, 0x71, 0xf4, 0x4c },
}

Functions

FunctioncreateChild[src]

pub fn createChild(self: *const ServiceBinding, handle: *?Handle) Status

Parameters

self: *const ServiceBinding
handle: *?Handle

Source Code

Source code
pub fn createChild(self: *const ServiceBinding, handle: *?Handle) Status {
    return self._create_child(self, handle);
}

FunctiondestroyChild[src]

pub fn destroyChild(self: *const ServiceBinding, handle: Handle) Status

Parameters

self: *const ServiceBinding
handle: Handle

Source Code

Source code
pub fn destroyChild(self: *const ServiceBinding, handle: Handle) Status {
    return self._destroy_child(self, handle);
}

Source Code

Source code
pub const ServiceBinding = extern struct {
    _create_child: *const fn (*const ServiceBinding, *?Handle) callconv(cc) Status,
    _destroy_child: *const fn (*const ServiceBinding, Handle) callconv(cc) Status,

    pub fn createChild(self: *const ServiceBinding, handle: *?Handle) Status {
        return self._create_child(self, handle);
    }

    pub fn destroyChild(self: *const ServiceBinding, handle: Handle) Status {
        return self._destroy_child(self, handle);
    }

    pub const guid align(8) = Guid{
        .time_low = 0xf36ff770,
        .time_mid = 0xa7e1,
        .time_high_and_version = 0x42cf,
        .clock_seq_high_and_reserved = 0x9e,
        .clock_seq_low = 0xd2,
        .node = [_]u8{ 0x56, 0xf0, 0xf2, 0x71, 0xf4, 0x4c },
    };
}