pub struct TopologyStream { /* private fields */ }Expand description
TopologyStream data container.
Implementations§
Source§impl TopologyStream
impl TopologyStream
Sourcepub fn subscribe(
&self,
sink: impl Fn(TopologyEvent) + 'static,
) -> GraphTopologyObserver
pub fn subscribe( &self, sink: impl Fn(TopologyEvent) + 'static, ) -> GraphTopologyObserver
Updates or reads subscribe.
Trait Implementations§
Source§impl Clone for TopologyStream
impl Clone for TopologyStream
Source§fn clone(&self) -> TopologyStream
fn clone(&self) -> TopologyStream
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TopologyStream
impl !RefUnwindSafe for TopologyStream
impl !Send for TopologyStream
impl !Sync for TopologyStream
impl Unpin for TopologyStream
impl UnsafeUnpin for TopologyStream
impl !UnwindSafe for TopologyStream
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