pub enum DataChannelThreshold {
Low(u32),
High(u32),
}Expand description
The data-part of an data-channel CLOSE message without the message type.
§Memory layout
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message Type |
+-+-+-+-+-+-+-+-+Variants§
Trait Implementations§
Source§impl Clone for DataChannelThreshold
impl Clone for DataChannelThreshold
Source§fn clone(&self) -> DataChannelThreshold
fn clone(&self) -> DataChannelThreshold
Returns a duplicate of the value. Read more
1.0.0 · 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 DataChannelThreshold
impl Debug for DataChannelThreshold
Source§impl Marshal for DataChannelThreshold
impl Marshal for DataChannelThreshold
Source§impl MarshalSize for DataChannelThreshold
impl MarshalSize for DataChannelThreshold
fn marshal_size(&self) -> usize
Source§impl PartialEq for DataChannelThreshold
impl PartialEq for DataChannelThreshold
Source§impl Unmarshal for DataChannelThreshold
impl Unmarshal for DataChannelThreshold
impl Copy for DataChannelThreshold
impl Eq for DataChannelThreshold
impl StructuralPartialEq for DataChannelThreshold
Auto Trait Implementations§
impl Freeze for DataChannelThreshold
impl RefUnwindSafe for DataChannelThreshold
impl Send for DataChannelThreshold
impl Sync for DataChannelThreshold
impl Unpin for DataChannelThreshold
impl UnwindSafe for DataChannelThreshold
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