pub struct RoomsLayout;Expand description
The path layout of room broadcasts: rooms/<member>/<topic>/<name>.
A member publishes under the prefix rooms/<member>, which names it
before the topic so that one prefix covers every room it is in. A node
that runs rooms lets every peer publish there, as
policy((LiveLayout::default(), RoomsLayout))
does.
Trait Implementations§
Source§impl Clone for RoomsLayout
impl Clone for RoomsLayout
impl Copy for RoomsLayout
Source§impl Debug for RoomsLayout
impl Debug for RoomsLayout
Source§impl Default for RoomsLayout
impl Default for RoomsLayout
Source§impl Layout<PublicKey> for RoomsLayout
impl Layout<PublicKey> for RoomsLayout
Auto Trait Implementations§
impl Freeze for RoomsLayout
impl RefUnwindSafe for RoomsLayout
impl Send for RoomsLayout
impl Sync for RoomsLayout
impl Unpin for RoomsLayout
impl UnsafeUnpin for RoomsLayout
impl UnwindSafe for RoomsLayout
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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