pub struct AppId(/* private fields */);Expand description
An application identifier that defines the namespace two nodes must share in order to see each other as peers.
Valid AppIds match ^[a-z][a-z0-9-]{1,31}$:
- first character: lowercase ASCII letter
- remaining: lowercase ASCII letters, digits, or
- - length: 2–32 characters
Implementations§
Trait Implementations§
impl Eq for AppId
impl StructuralPartialEq for AppId
Auto Trait Implementations§
impl Freeze for AppId
impl RefUnwindSafe for AppId
impl Send for AppId
impl Sync for AppId
impl Unpin for AppId
impl UnsafeUnpin for AppId
impl UnwindSafe for AppId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more