#[non_exhaustive]pub enum Offline<C, A, E> {
Recorded(Result<A, E>),
Held(C),
}Expand description
What becomes of a membership change made while no connection is up.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Recorded(Result<A, E>)
Recorded in the membership for the replay to apply; the caller gets this answer now.
Held(C)
Held, and applied with Protocol::apply once a connection is up and
its membership replayed; the caller waits for that answer.
Trait Implementations§
Auto Trait Implementations§
impl<C, A, E> Freeze for Offline<C, A, E>
impl<C, A, E> RefUnwindSafe for Offline<C, A, E>
impl<C, A, E> Send for Offline<C, A, E>
impl<C, A, E> Sync for Offline<C, A, E>
impl<C, A, E> Unpin for Offline<C, A, E>
impl<C, A, E> UnsafeUnpin for Offline<C, A, E>
impl<C, A, E> UnwindSafe for Offline<C, A, E>
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