Skip to main content

RefusalsOf

Type Alias RefusalsOf 

Source
pub type RefusalsOf<P> = Result<Vec<Refusal<<P as SyncPeer>::Error>>, Violation>;
Expand description

What SyncFixture::refusals resolves to for a peer P.

An alias only to keep the trait’s signature readable: the error type is reached through the peer’s associated type, which spelled out in place is three levels of angle brackets.

Aliased Type§

pub enum RefusalsOf<P> {
    Ok(Vec<Refusal<<P as SyncPeer>::Error>>),
    Err(Violation),
}

Variants§

§1.0.0

Ok(Vec<Refusal<<P as SyncPeer>::Error>>)

Contains the success value

§1.0.0

Err(Violation)

Contains the error value