pub enum ChannelLifetime {
Transient,
Persistent,
}Expand description
How long a Channel lives.
Variants§
Trait Implementations§
Source§impl Clone for ChannelLifetime
impl Clone for ChannelLifetime
Source§fn clone(&self) -> ChannelLifetime
fn clone(&self) -> ChannelLifetime
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelLifetime
impl Debug for ChannelLifetime
Source§impl PartialEq for ChannelLifetime
impl PartialEq for ChannelLifetime
Source§fn eq(&self, other: &ChannelLifetime) -> bool
fn eq(&self, other: &ChannelLifetime) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChannelLifetime
impl Eq for ChannelLifetime
impl StructuralPartialEq for ChannelLifetime
Auto Trait Implementations§
impl Freeze for ChannelLifetime
impl RefUnwindSafe for ChannelLifetime
impl Send for ChannelLifetime
impl Sync for ChannelLifetime
impl Unpin for ChannelLifetime
impl UnsafeUnpin for ChannelLifetime
impl UnwindSafe for ChannelLifetime
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