pub struct BlenderLiveSyncHandle { /* private fields */ }Expand description
Running handle for an embedded or CLI euv blender live-sync Hyperlane HTTP+SSE server.
Implementations§
Source§impl BlenderLiveSyncHandle
Lifecycle control methods on BlenderLiveSyncHandle.
impl BlenderLiveSyncHandle
Lifecycle control methods on BlenderLiveSyncHandle.
Sourcepub fn address(&self) -> SocketAddr
pub fn address(&self) -> SocketAddr
Returns the concrete bound SocketAddr of the running Hyperlane Live-Link daemon.
§Returns
SocketAddr- Bound TCP socket address.
Sourcepub fn url(&self) -> String
pub fn url(&self) -> String
Returns the base HTTP URL (http://host:port) of this Live-Link server.
§Returns
String- Base HTTP URL.
Sourcepub fn state(&self) -> &Arc<BlenderLiveSyncState> ⓘ
pub fn state(&self) -> &Arc<BlenderLiveSyncState> ⓘ
Returns a reference to the shared BlenderLiveSyncState.
§Returns
&Arc<BlenderLiveSyncState>- Shared Live-Link state.
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Sourcepub fn report(&self, once: bool) -> BlenderLiveSyncReport
pub fn report(&self, once: bool) -> BlenderLiveSyncReport
Trait Implementations§
Source§impl Debug for BlenderLiveSyncHandle
impl Debug for BlenderLiveSyncHandle
Source§impl Drop for BlenderLiveSyncHandle
Available on crate feature update-server only.Automatic listener cleanup when BlenderLiveSyncHandle is dropped.
impl Drop for BlenderLiveSyncHandle
Available on crate feature
update-server only.Automatic listener cleanup when BlenderLiveSyncHandle is dropped.
Auto Trait Implementations§
impl !Freeze for BlenderLiveSyncHandle
impl !RefUnwindSafe for BlenderLiveSyncHandle
impl !UnwindSafe for BlenderLiveSyncHandle
impl Forget for BlenderLiveSyncHandle
impl Move for BlenderLiveSyncHandle
impl Send for BlenderLiveSyncHandlewhere
Arc<BlenderLiveSyncState>: Send,
Arc<dyn FutureFn<(), Output = Pin<Box<dyn Future<Output = ()> + Send>>>>: Send,
AtomicCell<Core>: Send,
AtomicUsize: Send,
Mutex<LinkedList<Waiter>>: Send,
Mutex<RawMutex, LinkedList<Waiter>>: Send,
Arc<Handle>: Send,
Arc<Handle>: Send,
Arc<Inner>: Send,
Arc<Inner<()>>: Send,
impl Sync for BlenderLiveSyncHandlewhere
Arc<BlenderLiveSyncState>: Sync,
Arc<dyn FutureFn<(), Output = Pin<Box<dyn Future<Output = ()> + Send>>>>: Sync,
AtomicCell<Core>: Sync,
AtomicUsize: Sync,
Mutex<LinkedList<Waiter>>: Sync,
Mutex<RawMutex, LinkedList<Waiter>>: Sync,
Arc<Handle>: Sync,
Arc<Handle>: Sync,
Arc<Inner>: Sync,
Arc<Inner<()>>: Sync,
impl Unpin for BlenderLiveSyncHandlewhere
Arc<BlenderLiveSyncState>: Unpin,
Arc<dyn FutureFn<(), Output = Pin<Box<dyn Future<Output = ()> + Send>>>>: Unpin,
Align8<*mut Core>: Unpin,
Align8<usize>: Unpin,
Align4<u32>: Unpin,
Align1<u8>: Unpin,
*const Waiter is !null: Unpin,
Arc<Handle>: Unpin,
Arc<Handle>: Unpin,
Arc<Inner>: Unpin,
Arc<Inner<()>>: Unpin,
impl UnsafeUnpin for BlenderLiveSyncHandlewhere
*const ArcInner<BlenderLiveSyncState> is !null: UnsafeUnpin,
PhantomData<ArcInner<BlenderLiveSyncState>>: UnsafeUnpin,
*const ArcInner<dyn FutureFn<(), Output = Pin<Box<dyn Future<Output = ()> + Send>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn FutureFn<(), Output = Pin<Box<dyn Future<Output = ()> + Send>>>>>: UnsafeUnpin,
Align8<*mut Core>: UnsafeUnpin,
Align8<usize>: UnsafeUnpin,
PhantomData<Mutex<LinkedList<Waiter>>>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
*const Waiter is !null: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Inner<()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner<()>>>: UnsafeUnpin,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendSync for T
impl<T> AnySync for T
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more