pub struct CommonAvailabilityTest<T: RoutingTestModelBuilder> { /* private fields */ }Implementations§
Source§impl<T: RoutingTestModelBuilder> CommonAvailabilityTest<T>
impl<T: RoutingTestModelBuilder> CommonAvailabilityTest<T>
pub fn new() -> Self
pub async fn test_offer_availability_successful_routes(&self)
pub async fn test_offer_availability_invalid_routes(&self)
Sourcepub async fn test_expose_availability_successful_routes(&self)
pub async fn test_expose_availability_successful_routes(&self)
Creates the following topology:
a
/
/
bAnd verifies exposing a variety of capabilities from b, testing the combination of
availability settings and capability types.
Storage and event stream capabilities cannot be exposed, hence omitted.
Sourcepub async fn test_expose_availability_invalid_routes(&self)
pub async fn test_expose_availability_invalid_routes(&self)
Creates the following topology:
a
/
/
bAnd verifies exposing a variety of capabilities from b. Except that either the route is
broken, or the rules around availability are broken.
Auto Trait Implementations§
impl<T> Freeze for CommonAvailabilityTest<T>
impl<T> RefUnwindSafe for CommonAvailabilityTest<T>where
T: RefUnwindSafe,
impl<T> Send for CommonAvailabilityTest<T>where
T: Send,
impl<T> Sync for CommonAvailabilityTest<T>where
T: Sync,
impl<T> Unpin for CommonAvailabilityTest<T>where
T: Unpin,
impl<T> UnwindSafe for CommonAvailabilityTest<T>where
T: UnwindSafe,
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more