pub type LongName = BoundedName<MAX_LONG_NAME_LENGTH>;Expand description
A Name with a higher string capacity of MAX_LONG_NAME_LENGTH.
Aliased Type§
pub struct LongName(/* private fields */);Implementations§
Source§impl LongName
impl LongName
Sourcepub fn to_short_infallible(self) -> Name
pub fn to_short_infallible(self) -> Name
Converts this LongName into a Name without reallocating.
§Panics
Panics if the length of the name exceeds MAX_NAME_LENGTH.