pub struct Hold {
pub frame: Waku,
pub provisions: Provisions,
}Expand description
What a run is held to: the frame it may reach the host through, and the capabilities pure providers stand in for.
Fields§
§frame: Waku§provisions: ProvisionsImplementations§
Source§impl Hold
impl Hold
Sourcepub fn withheld_host_names(&self) -> Vec<(&'static str, Capability)>
pub fn withheld_host_names(&self) -> Vec<(&'static str, Capability)>
Every host name neither the frame grants nor a provider stands in for.
Sourcepub fn bind<H: 'static>(&self, interp: &mut Interpreter<H>, who: &'static str)
pub fn bind<H: 'static>(&self, interp: &mut Interpreter<H>, who: &'static str)
Bind the hold into interp: a breach for every withheld host name,
then each provider over its capability’s names.
Trait Implementations§
impl Eq for Hold
impl StructuralPartialEq for Hold
Auto Trait Implementations§
impl Freeze for Hold
impl RefUnwindSafe for Hold
impl Send for Hold
impl Sync for Hold
impl Unpin for Hold
impl UnsafeUnpin for Hold
impl UnwindSafe for Hold
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.