pub enum Reach {
ServiceProtocol(&'static str),
CapabilityInstance(&'static str),
TestPostgresDouble,
}Expand description
What reaches a first-party npm dependency (see FirstPartyNpm::reached_by),
by the construct that needs it, never by text in a source file.
Variants§
ServiceProtocol(&'static str)
A context declares a service whose protocol is this one (from email(…)
is "email").
CapabilityInstance(&'static str)
A context declares an instance of this bynk.cloudflare capability
(capability Main = Postgres, #3318), named by its base capability.
TestPostgresDouble
The project’s bynk.toml opts in to a test double that runs on it
([test] postgres = "pglite", #3321). Decided on the manifest, not on
any source: nothing in a program names a test double.
Trait Implementations§
impl Copy for Reach
impl Eq for Reach
impl StructuralPartialEq for Reach
Auto Trait Implementations§
impl Freeze for Reach
impl RefUnwindSafe for Reach
impl Send for Reach
impl Sync for Reach
impl Unpin for Reach
impl UnsafeUnpin for Reach
impl UnwindSafe for Reach
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