pub enum ChannelOutError {
ChannelClosed,
MaxFrameSizeTooSmall,
MissingData,
Compression(CompressorError),
BatchEncoding,
ExceedsMaxRlpBytesPerChannel,
}
Expand description
An error returned by the ChannelOut when adding single batches.
Variants§
ChannelClosed
The channel is closed.
MaxFrameSizeTooSmall
The max frame size is too small.
MissingData
Missing compressed batch data.
Compression(CompressorError)
An error from compression.
BatchEncoding
An error encoding the Batch
.
ExceedsMaxRlpBytesPerChannel
The encoded batch exceeds the max RLP bytes per channel.
Trait Implementations§
Source§impl Clone for ChannelOutError
impl Clone for ChannelOutError
Source§fn clone(&self) -> ChannelOutError
fn clone(&self) -> ChannelOutError
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 ChannelOutError
impl Debug for ChannelOutError
Source§impl Display for ChannelOutError
impl Display for ChannelOutError
Source§impl Error for ChannelOutError
impl Error for ChannelOutError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CompressorError> for ChannelOutError
impl From<CompressorError> for ChannelOutError
Source§fn from(source: CompressorError) -> ChannelOutError
fn from(source: CompressorError) -> ChannelOutError
Converts to this type from the input type.
Source§impl PartialEq for ChannelOutError
impl PartialEq for ChannelOutError
impl StructuralPartialEq for ChannelOutError
Auto Trait Implementations§
impl Freeze for ChannelOutError
impl RefUnwindSafe for ChannelOutError
impl Send for ChannelOutError
impl Sync for ChannelOutError
impl Unpin for ChannelOutError
impl UnwindSafe for ChannelOutError
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