pub struct AttributionServerHandle { /* private fields */ }
Expand description
Main structure for the memory attribution hanging get server.
Components that wish to expose attribution information should create a single AttributionServer object. Each inbound fuchsia.attribution.Provider connection should get its own Observer object using [AttributionServer::new_observer]. Publishers, created using [AttributionServer::new_publisher], should be used to push attribution changes.
Implementations§
Source§impl AttributionServerHandle
impl AttributionServerHandle
Sourcepub fn new_observer(&self, control_handle: ProviderControlHandle) -> Observer
pub fn new_observer(&self, control_handle: ProviderControlHandle) -> Observer
Sourcepub fn new_publisher(&self) -> Publisher
pub fn new_publisher(&self) -> Publisher
Create a new Publisher that can push updates to observers.
Trait Implementations§
Source§impl Clone for AttributionServerHandle
impl Clone for AttributionServerHandle
Source§fn clone(&self) -> AttributionServerHandle
fn clone(&self) -> AttributionServerHandle
Returns a copy 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 AttributionServerHandle
impl !RefUnwindSafe for AttributionServerHandle
impl Send for AttributionServerHandle
impl Sync for AttributionServerHandle
impl Unpin for AttributionServerHandle
impl !UnwindSafe for AttributionServerHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)