pub struct ObserverAttachment<R, H = Supervisor> { /* private fields */ }Implementations§
Source§impl<R: Send + Sync + 'static, H: ObserverHost<R>> ObserverAttachment<R, H>
impl<R: Send + Sync + 'static, H: ObserverHost<R>> ObserverAttachment<R, H>
pub fn new( instances: Vec<Instance<R, H>>, resources: Arc<R>, grants: &[Entry], ) -> Result<Arc<Self>, Refusal>
pub fn from_catalog<C>(
resources: Arc<R>,
grants: &[Entry],
) -> Result<Arc<Self>, Refusal>where
C: Catalog<Declarations<R, H>>,
pub fn bind( self: &Arc<Self>, table: &mut WireTable<Supervisor>, ) -> Result<(), ServingError>
Trait Implementations§
Source§impl<R: Send + Sync + 'static, H: ObserverHost<R>> Attachment<Supervisor> for ObserverAttachment<R, H>
impl<R: Send + Sync + 'static, H: ObserverHost<R>> Attachment<Supervisor> for ObserverAttachment<R, H>
Auto Trait Implementations§
impl<R, H = Supervisor> !Freeze for ObserverAttachment<R, H>
impl<R, H = Supervisor> !RefUnwindSafe for ObserverAttachment<R, H>
impl<R, H = Supervisor> !UnwindSafe for ObserverAttachment<R, H>
impl<R, H> Send for ObserverAttachment<R, H>
impl<R, H> Sync for ObserverAttachment<R, H>
impl<R, H> Unpin for ObserverAttachment<R, H>
impl<R, H> UnsafeUnpin for ObserverAttachment<R, H>
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