Skip to main content

Module name

Module name 

Source
Expand description

CosNaming names and their string form, which corbaname: URLs use.

The naming service client in rustorb-naming re-exports these; they live here because Orb::string_to_object resolves corbaname: URLs itself.

Structs§

InvalidName
A stringified name is malformed, or a name has no components (CosNaming::NamingContext::InvalidName when the conversion is local).
NameComponent
CosNaming::NameComponent: one step of a Name.

Functions§

read_name
Reads a CosNaming::Name.
to_name
Parses a stringified name, as NamingContextExt::to_name does: components are separated by /, the id and kind of a component by ., and \ escapes the next character. a.b/c\/d/.e is the name [("a", "b"), ("c/d", ""), ("", "e")]; . alone is a component with an empty id and kind.
to_string
Writes a name in the string form to_name reads, as NamingContextExt::to_string does. An empty name is invalid.
write_name
Writes a CosNaming::Name.

Type Aliases§

Name
CosNaming::Name: a sequence of components, from the outermost context.