pub trait Source: Source + Source {
type Primary: Copy;
type Failure<T: Codec>
where Self: Observe<T>;
type Resources<T: Codec, L: Canary, P: Copy + From<Self::Primary> + From<Error>>: Retain<P, Error = <Self as Source>::Failure<T>, Ring = Self::Ring<T>, Probe = <Self as Source>::Cleanup<T, L, P>, Canary = Self::Canary<L>, Context = Self::Context<L>, Buffers = <Self as Source>::Cleanup<L>, Producer = Self::Producer<L>, Registration = <Self::Ring<T> as Owner>::Registration, Registered = <Self::Ring<T> as Owner>::Registered, BufferError = <Self::Ready<T, L> as Ready>::BufferError>
where Self: Observe<T>;
}Expand description
Selects the native owner of every partially constructed reactor resource.
Required Associated Types§
type Primary: Copy
type Failure<T: Codec> where Self: Observe<T>
type Resources<T: Codec, L: Canary, P: Copy + From<Self::Primary> + From<Error>>: Retain<P, Error = <Self as Source>::Failure<T>, Ring = Self::Ring<T>, Probe = <Self as Source>::Cleanup<T, L, P>, Canary = Self::Canary<L>, Context = Self::Context<L>, Buffers = <Self as Source>::Cleanup<L>, Producer = Self::Producer<L>, Registration = <Self::Ring<T> as Owner>::Registration, Registered = <Self::Ring<T> as Owner>::Registered, BufferError = <Self::Ready<T, L> as Ready>::BufferError> where Self: Observe<T>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".