pub enum Outbound {
Auth {
v: u8,
role: String,
robot_id: String,
public_key: String,
sig: String,
agent_version: String,
},
Announce(Announce),
Heartbeat {
sessions: Vec<String>,
status: Option<Value>,
},
SessionAccepted {
session_id: String,
path_label: String,
},
SessionEnded {
session_id: String,
reason: String,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Outbound
impl RefUnwindSafe for Outbound
impl Send for Outbound
impl Sync for Outbound
impl Unpin for Outbound
impl UnsafeUnpin for Outbound
impl UnwindSafe for Outbound
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