Enum remoc::chmux::RecvChunkError
source · pub enum RecvChunkError {
ChMux,
Cancelled,
}
Expand description
An error occurred during receiving chunks of a message.
Variants§
Implementations§
source§impl RecvChunkError
impl RecvChunkError
sourcepub fn is_terminated(&self) -> bool
pub fn is_terminated(&self) -> bool
Returns true, if error is due to multiplexer being terminated.
Trait Implementations§
source§impl Clone for RecvChunkError
impl Clone for RecvChunkError
source§fn clone(&self) -> RecvChunkError
fn clone(&self) -> RecvChunkError
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 RecvChunkError
impl Debug for RecvChunkError
source§impl<'de> Deserialize<'de> for RecvChunkError
impl<'de> Deserialize<'de> for RecvChunkError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RecvChunkError
impl Display for RecvChunkError
Auto Trait Implementations§
impl Freeze for RecvChunkError
impl RefUnwindSafe for RecvChunkError
impl Send for RecvChunkError
impl Sync for RecvChunkError
impl Unpin for RecvChunkError
impl UnwindSafe for RecvChunkError
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