Struct hotham_debug_server::DebugServer
source · [−]pub struct DebugServer {
pub to_client: Sender<Message>,
pub from_client: Receiver<Message>,
pub session_id: Uuid,
pub current_frame: usize,
pub frame_queue: Vec<DebugFrame>,
/* private fields */
}Fields
to_client: Sender<Message>from_client: Receiver<Message>session_id: Uuidcurrent_frame: usizeframe_queue: Vec<DebugFrame>Implementations
sourceimpl DebugServer
impl DebugServer
pub fn new() -> DebugServer
pub fn sync(&mut self) -> Option<Vec<DebugFrame>>
pub fn time_since_last_sync(&self) -> u64
Auto Trait Implementations
impl !RefUnwindSafe for DebugServer
impl Send for DebugServer
impl Sync for DebugServer
impl Unpin for DebugServer
impl !UnwindSafe for DebugServer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more