pub struct StreamValue {
pub inner: Arc<Mutex<Option<StreamKind>>>,
}Fields§
§inner: Arc<Mutex<Option<StreamKind>>>Trait Implementations§
Source§impl Clone for StreamValue
impl Clone for StreamValue
Source§fn clone(&self) -> StreamValue
fn clone(&self) -> StreamValue
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 StreamValue
impl Debug for StreamValue
Source§impl Hash for StreamValue
impl Hash for StreamValue
Source§impl Ord for StreamValue
impl Ord for StreamValue
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Pack for StreamValue
impl Pack for StreamValue
fn encoded_len(&self) -> usize
fn encode(&self, _buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(_buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
Source§impl PartialEq for StreamValue
impl PartialEq for StreamValue
Source§impl PartialOrd for StreamValue
impl PartialOrd for StreamValue
impl Eq for StreamValue
Auto Trait Implementations§
impl Freeze for StreamValue
impl !RefUnwindSafe for StreamValue
impl Send for StreamValue
impl Sync for StreamValue
impl Unpin for StreamValue
impl UnsafeUnpin for StreamValue
impl !UnwindSafe for StreamValue
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.