pub struct RtspServerSession {
pub session_id: Option<Uuid>,
pub session_type: ServerSessionType,
pub stream_identifier: Option<StreamIdentifier>,
pub is_normal_exit: bool,
/* private fields */
}Fields§
§session_id: Option<Uuid>§session_type: ServerSessionType§stream_identifier: Option<StreamIdentifier>§is_normal_exit: boolImplementations§
Source§impl RtspServerSession
impl RtspServerSession
pub fn new( stream: TcpStream, event_producer: StreamHubEventSender, auth: Option<Auth>, ) -> Self
pub async fn run(&mut self) -> Result<(), SessionError>
pub fn exit(&mut self, identifier: StreamIdentifier) -> Result<(), SessionError>
Auto Trait Implementations§
impl Freeze for RtspServerSession
impl !RefUnwindSafe for RtspServerSession
impl Send for RtspServerSession
impl Sync for RtspServerSession
impl Unpin for RtspServerSession
impl !UnwindSafe for RtspServerSession
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