pub enum ToPilot<'a> {
Welcome {
session_id: &'a str,
role: &'a str,
channels: &'a [ChannelSpec],
qos: Value,
t_agent_us: u64,
},
Denied {
reason: &'a str,
},
Pong {
t1: u64,
t2: u64,
},
QosAck {
profile: &'a str,
qos: Value,
publisher: &'a str,
},
AgentStats(Value),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ToPilot<'a>
impl<'a> RefUnwindSafe for ToPilot<'a>
impl<'a> Send for ToPilot<'a>
impl<'a> Sync for ToPilot<'a>
impl<'a> Unpin for ToPilot<'a>
impl<'a> UnsafeUnpin for ToPilot<'a>
impl<'a> UnwindSafe for ToPilot<'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