pub enum FrameIoError {
Rx(FrameReceiptError),
Tx(FrameTransmissionError),
ShutdownRequested,
IncompatibleVersion(u16, u16),
SslHandshake(SslHandshakeError),
Sequence(FrameSequenceError),
AudioInputOpenError,
AudioInputCloseError,
}Expand description
Errors that can occur when either sending or receiving frames
Variants§
Rx(FrameReceiptError)
An error receiving a frame
Tx(FrameTransmissionError)
An error sending a frame
ShutdownRequested
A shutdown was requested
IncompatibleVersion(u16, u16)
The client has an incompatible version
SslHandshake(SslHandshakeError)
An error occurred during the ssl handshake
Sequence(FrameSequenceError)
A logical error due to frames not being received in the expected order
AudioInputOpenError
An error occurred opening the audio input channel
AudioInputCloseError
An error occurred closing the audio input channel
Trait Implementations§
Source§impl Debug for FrameIoError
impl Debug for FrameIoError
Source§impl From<FrameIoError> for ClientError
impl From<FrameIoError> for ClientError
Source§fn from(value: FrameIoError) -> Self
fn from(value: FrameIoError) -> Self
Converts to this type from the input type.
Source§impl From<FrameSequenceError> for FrameIoError
impl From<FrameSequenceError> for FrameIoError
Source§fn from(value: FrameSequenceError) -> Self
fn from(value: FrameSequenceError) -> Self
Converts to this type from the input type.
Source§impl From<FrameTransmissionError> for FrameIoError
impl From<FrameTransmissionError> for FrameIoError
Source§fn from(value: FrameTransmissionError) -> Self
fn from(value: FrameTransmissionError) -> Self
Converts to this type from the input type.
Source§impl From<SslHandshakeError> for FrameIoError
impl From<SslHandshakeError> for FrameIoError
Source§fn from(value: SslHandshakeError) -> Self
fn from(value: SslHandshakeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FrameIoError
impl !RefUnwindSafe for FrameIoError
impl Send for FrameIoError
impl Sync for FrameIoError
impl Unpin for FrameIoError
impl UnsafeUnpin for FrameIoError
impl !UnwindSafe for FrameIoError
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