pub const fn new_unwrapped(client_id: &'a str) -> Self {
        match Self::new(client_id) {
            Some(client_id) => client_id,
            None => ::core::panic!("invalid client ID"),
        }
    }
/// Create a new client ID, panicking if the client ID is invalid.
///
/// # Panics
///
/// This is the same as [`new`](Self::new), but it will panic on invalid
/// hostnames.
///
/// This should only be used in `const` contexts where the evaluation will
/// fail at compile time.
///
/// # Example
///
/// ```
/// use w5500_mqtt::ClientId;
///
/// const CLIENT_ID: ClientId = ClientId::new_unwrapped("valid");
/// ```
Create a new client ID, panicking if the client ID is invalid.
Create a new client ID panicking if the client ID is invalid .
pub const fn new_unwrapped(client_id: &'a str) -> Self {
        match Self::new(client_id) {
            Some(client_id) => client_id,
            None => ::core::panic!("invalid client ID"),
        }
    }
pub const fn new_unwrapped ( client_id : & ' a str ) -> Self { match Self :: new ( client_id ) { Some ( client_id ) => client_id , None => :: core :: panic ! ( " " ) , } }
Create a new client ID, panicking if the client ID is invalid.
Create a new client ID panicking if the client ID is invalid .
client_id
&'a str
client_id
&'a str
panics
This is the same as [`new`](Self::new), but it will panic on invalid
hostnames.

This should only be used in `const` contexts where the evaluation will
fail at compile time.
This is the same as [ ` new ` ] ( Self :: new ) but it will panic on invalid hostnames . This should only be used in ` const ` contexts where the evaluation will fail at compile time .
example


const CLIENT_ID: ClientId = ClientId::new_unwrapped("valid");
```
const CLIENT_ID : ClientId = ClientId :: new_unwrapped ( " valid " ) ; ` ` `