README

mokomoking2501/profinet_master/frame does not have a README file

#
FrameError

pub(all) suberror FrameError {
InvalidMacLength(Int)
InvalidMacText(String)
InvalidIpv4Length(Int)
InvalidIpv4Text(String)
InvalidHexText(String)
} derive(Eq, ToJson,
Debug
)

#
IPv4Address

pub(all) struct IPv4Address {
bytes : Bytes
} derive(Eq)

#
IPv4Address::from_text

fn IPv4Address::from_text(text : StringView) -> IPv4Address raise FrameError

#
IPv4Address::new

fn IPv4Address::new(bytes : Bytes) -> IPv4Address raise FrameError

#
IPv4Address::octets

fn IPv4Address::octets(self : IPv4Address) -> Bytes

#
IPv4Address::to_text

fn IPv4Address::to_text(self : IPv4Address) -> String

#
MacAddress

pub(all) struct MacAddress {
bytes : Bytes
} derive(Eq)

#
MacAddress::broadcast

fn MacAddress::broadcast() -> MacAddress

#
MacAddress::from_hex

fn MacAddress::from_hex(text : StringView) -> MacAddress raise FrameError

#
MacAddress::new

fn MacAddress::new(bytes : Bytes) -> MacAddress raise FrameError

#
MacAddress::octets

fn MacAddress::octets(self : MacAddress) -> Bytes

#
MacAddress::to_hex

fn MacAddress::to_hex(self : MacAddress, separator? : StringView) -> String

#
bytes_from_hex

fn bytes_from_hex(text : StringView, separator? : StringView) -> Bytes raise FrameError

#
bytes_to_hex

fn bytes_to_hex(data : Bytes, separator? : StringView) -> String

#
uint16_to_hex

fn uint16_to_hex(value : Int) -> String

#
uint32_to_hex

fn uint32_to_hex(value : Int) -> String

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io