pub enum BroadcastType<'a> {
PointToPoint(&'a str, &'a str),
PointToGroup(&'a str),
}
Variants§
Implementations§
Source§impl<'a> BroadcastType<'a>
impl<'a> BroadcastType<'a>
pub fn get_key(broadcast_type: BroadcastType<'_>) -> String
Auto Trait Implementations§
impl<'a> Freeze for BroadcastType<'a>
impl<'a> RefUnwindSafe for BroadcastType<'a>
impl<'a> Send for BroadcastType<'a>
impl<'a> Sync for BroadcastType<'a>
impl<'a> Unpin for BroadcastType<'a>
impl<'a> UnwindSafe for BroadcastType<'a>
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