[−][src]Struct librojo::live_session::LiveSession
Contains all of the state for a Rojo live-sync session.
Fields
message_queue: Arc<MessageQueue<InstanceChanges>>rbx_session: Arc<Mutex<RbxSession>>imfs: Arc<Mutex<Imfs>>Implementations
impl LiveSession[src]
pub fn new(project: Arc<Project>) -> Result<LiveSession, LiveSessionError>[src]
pub fn restart_with_new_project(
&mut self,
project: Arc<Project>
) -> Result<(), LiveSessionError>[src]
&mut self,
project: Arc<Project>
) -> Result<(), LiveSessionError>
Restarts the live session using the given project while preserving the internal session ID.
pub fn root_project(&self) -> &Project[src]
pub fn session_id(&self) -> SessionId[src]
pub fn serve_place_ids(&self) -> &Option<HashSet<u64>>[src]
Auto Trait Implementations
impl RefUnwindSafe for LiveSession
impl Send for LiveSession
impl Sync for LiveSession
impl Unpin for LiveSession
impl UnwindSafe for LiveSession
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,