pub enum ServerSessionError {
Timeout(Elapsed),
PublishBeforeConnect,
PlayNotSupported,
InvalidChunkSize(usize),
}
Expand description
Errors that can occur during a server session.
Variants§
Timeout(Elapsed)
Timeout.
PublishBeforeConnect
Received publish command before connect command.
PlayNotSupported
Play not supported.
InvalidChunkSize(usize)
Invalid chunk size.
Trait Implementations§
Source§impl Debug for ServerSessionError
impl Debug for ServerSessionError
Source§impl Display for ServerSessionError
impl Display for ServerSessionError
Source§impl Error for ServerSessionError
impl Error for ServerSessionError
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<Elapsed> for ServerSessionError
impl From<Elapsed> for ServerSessionError
Source§impl From<ServerSessionError> for RtmpError
impl From<ServerSessionError> for RtmpError
Source§fn from(source: ServerSessionError) -> Self
fn from(source: ServerSessionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ServerSessionError
impl RefUnwindSafe for ServerSessionError
impl Send for ServerSessionError
impl Sync for ServerSessionError
impl Unpin for ServerSessionError
impl UnwindSafe for ServerSessionError
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