idna/pkg.generated.mbti1// Generated using `moon info`, DON'T EDIT IT2package "moonbit-community/unicode-idna"34import {5 "moonbit-community/punycode",6}78// Values9pub fn to_ascii(String, use_std3_ascii_rules? : Bool, check_hyphens? : Bool, check_bidi? : Bool, check_joiners? : Bool, check_idna2008? : Bool, check_contexto? : Bool, verify_dns_length? : Bool) -> String raise IdnaError1011pub fn to_unicode(String, use_std3_ascii_rules? : Bool, check_hyphens? : Bool, check_bidi? : Bool, check_joiners? : Bool, check_idna2008? : Bool, check_contexto? : Bool) -> String raise IdnaError1213// Errors14pub(all) suberror IdnaError {15 PunycodeError(@punycode.PunycodeError)16 DisallowedCodePoint(cp~ : Int32)17 InvalidLabel(String)18 InvalidHyphen19 LabelTooLong20 DomainTooLong21 EmptyLabel22 InvalidBidi23 InvalidJoiner24 InvalidContextO(cp~ : Int32)25 InvalidAcePrefix26 LeadingCombiningMark27}28pub fn IdnaError::output(Self, &Logger) -> Unit29pub fn IdnaError::to_string(Self) -> String30pub impl Show for IdnaError3132// Types and methods3334// Type aliases3536// Traits37
// Generated using `moon info`, DON'T EDIT IT
package "moonbit-community/unicode-idna"
import {
"moonbit-community/punycode",
}
// Values
pub fn to_ascii(String, use_std3_ascii_rules? : Bool, check_hyphens? : Bool, check_bidi? : Bool, check_joiners? : Bool, check_idna2008? : Bool, check_contexto? : Bool, verify_dns_length? : Bool) -> String raise IdnaError
pub fn to_unicode(String, use_std3_ascii_rules? : Bool, check_hyphens? : Bool, check_bidi? : Bool, check_joiners? : Bool, check_idna2008? : Bool, check_contexto? : Bool) -> String raise IdnaError
// Errors
pub(all) suberror IdnaError {
PunycodeError(@punycode.PunycodeError)
DisallowedCodePoint(cp~ : Int32)
InvalidLabel(String)
InvalidHyphen
LabelTooLong
DomainTooLong
EmptyLabel
InvalidBidi
InvalidJoiner
InvalidContextO(cp~ : Int32)
InvalidAcePrefix
LeadingCombiningMark
}
pub fn IdnaError::output(Self, &Logger) -> Unit
pub fn IdnaError::to_string(Self) -> String
pub impl Show for IdnaError
// Types and methods
// Type aliases
// Traits