pub struct Closed<T>(pub T);Expand description
A rejected publication retains the caller’s value.
Tuple Fields§
§0: TTrait Implementations§
impl<T> Eq for Closed<T>where
T: Eq,
impl<T> StructuralPartialEq for Closed<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Freeze for Closed<T>where
T: Freeze,
impl<T> RefUnwindSafe for Closed<T>where
T: RefUnwindSafe,
impl<T> Send for Closed<T>where
T: Send,
impl<T> Sync for Closed<T>where
T: Sync,
impl<T> Unpin for Closed<T>where
T: Unpin,
impl<T> UnsafeUnpin for Closed<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Closed<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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.