pub enum ChannelError {
FrameIdMismatch,
ChannelClosed,
FrameNumberExists(usize),
FrameBeyondEndFrame(usize),
}
Expand description
An error returned when adding a frame to a channel.
Variants§
FrameIdMismatch
The frame id does not match the channel id.
ChannelClosed
The channel is closed.
FrameNumberExists(usize)
The frame number is already in the channel.
FrameBeyondEndFrame(usize)
The frame number is beyond the end frame.
Trait Implementations§
Source§impl Clone for ChannelError
impl Clone for ChannelError
Source§fn clone(&self) -> ChannelError
fn clone(&self) -> ChannelError
Returns a copy 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 ChannelError
impl Debug for ChannelError
Source§impl Display for ChannelError
impl Display for ChannelError
Source§impl Hash for ChannelError
impl Hash for ChannelError
Source§impl PartialEq for ChannelError
impl PartialEq for ChannelError
impl Copy for ChannelError
impl Eq for ChannelError
impl StructuralPartialEq for ChannelError
Auto Trait Implementations§
impl Freeze for ChannelError
impl RefUnwindSafe for ChannelError
impl Send for ChannelError
impl Sync for ChannelError
impl Unpin for ChannelError
impl UnwindSafe for ChannelError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)