pub mod tst_hls
pub mod tst_hls::builder
pub struct tst_hls::builder::HlsPublisherBuilder
impl tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::basic_auth<S: core::convert::Into<alloc::string::String>>(self, S, S) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::bind(self, core::net::socket_addr::SocketAddr) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::build(self) -> core::result::Result<tst_hls::publisher::HlsPublisher, tst_hls::error::HlsError>
pub fn tst_hls::builder::HlsPublisherBuilder::enable_tls<P: core::convert::AsRef<std::path::Path>>(self, P, P) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::from_url(&str) -> core::result::Result<Self, tst_hls::url::HlsUrlError>
pub fn tst_hls::builder::HlsPublisherBuilder::max_segment_duration(self, core::time::Duration) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::mode(self, tst_hls::config::HlsMode) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::new() -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::output_dir<P: core::convert::AsRef<std::path::Path>>(self, P) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::playlist_window(self, usize) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::segment_duration(self, core::time::Duration) -> Self
impl core::clone::Clone for tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::clone(&self) -> tst_hls::builder::HlsPublisherBuilder
impl core::default::Default for tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::default() -> Self
impl core::fmt::Debug for tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::builder::HlsPublisherBuilder
impl core::marker::Send for tst_hls::builder::HlsPublisherBuilder
impl core::marker::Sync for tst_hls::builder::HlsPublisherBuilder
impl core::marker::Unpin for tst_hls::builder::HlsPublisherBuilder
impl core::marker::UnsafeUnpin for tst_hls::builder::HlsPublisherBuilder
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::builder::HlsPublisherBuilder
impl core::panic::unwind_safe::UnwindSafe for tst_hls::builder::HlsPublisherBuilder
pub mod tst_hls::config
pub enum tst_hls::config::HlsMode
pub tst_hls::config::HlsMode::Event
pub tst_hls::config::HlsMode::Live
pub tst_hls::config::HlsMode::Vod
impl core::clone::Clone for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::clone(&self) -> tst_hls::config::HlsMode
impl core::cmp::Eq for tst_hls::config::HlsMode
impl core::cmp::PartialEq for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::eq(&self, &tst_hls::config::HlsMode) -> bool
impl core::fmt::Debug for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::hash::Hash for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::hash<__H: core::hash::Hasher>(&self, &mut __H)
impl core::marker::Copy for tst_hls::config::HlsMode
impl core::marker::StructuralPartialEq for tst_hls::config::HlsMode
impl core::marker::Freeze for tst_hls::config::HlsMode
impl core::marker::Send for tst_hls::config::HlsMode
impl core::marker::Sync for tst_hls::config::HlsMode
impl core::marker::Unpin for tst_hls::config::HlsMode
impl core::marker::UnsafeUnpin for tst_hls::config::HlsMode
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::config::HlsMode
impl core::panic::unwind_safe::UnwindSafe for tst_hls::config::HlsMode
#[non_exhaustive] pub struct tst_hls::config::HlsConfig
pub tst_hls::config::HlsConfig::basic_auth: core::option::Option<(alloc::string::String, alloc::string::String)>
pub tst_hls::config::HlsConfig::bind: core::net::socket_addr::SocketAddr
pub tst_hls::config::HlsConfig::max_segment_duration: core::option::Option<core::time::Duration>
pub tst_hls::config::HlsConfig::mode: tst_hls::config::HlsMode
pub tst_hls::config::HlsConfig::output_dir: std::path::PathBuf
pub tst_hls::config::HlsConfig::playlist_window: usize
pub tst_hls::config::HlsConfig::segment_duration: core::time::Duration
pub tst_hls::config::HlsConfig::tls_cert: core::option::Option<std::path::PathBuf>
pub tst_hls::config::HlsConfig::tls_key: core::option::Option<std::path::PathBuf>
impl tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::merge_from_url(&mut self, &tst_hls::url::HlsUrl)
pub fn tst_hls::config::HlsConfig::validate(&self) -> core::option::Option<alloc::string::String>
impl core::clone::Clone for tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::clone(&self) -> tst_hls::config::HlsConfig
impl core::default::Default for tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::default() -> Self
impl core::fmt::Debug for tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::config::HlsConfig
impl core::marker::Send for tst_hls::config::HlsConfig
impl core::marker::Sync for tst_hls::config::HlsConfig
impl core::marker::Unpin for tst_hls::config::HlsConfig
impl core::marker::UnsafeUnpin for tst_hls::config::HlsConfig
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::config::HlsConfig
impl core::panic::unwind_safe::UnwindSafe for tst_hls::config::HlsConfig
pub mod tst_hls::error
#[non_exhaustive] pub enum tst_hls::error::HlsError
pub tst_hls::error::HlsError::BindFailed(alloc::string::String)
pub tst_hls::error::HlsError::Finished
pub tst_hls::error::HlsError::Internal(alloc::string::String)
pub tst_hls::error::HlsError::InvalidConfig(alloc::string::String)
pub tst_hls::error::HlsError::Io(core::io::error::Error)
pub tst_hls::error::HlsError::Tls(alloc::string::String)
pub tst_hls::error::HlsError::TlsDisabled
pub tst_hls::error::HlsError::UnalignedPushTs
pub tst_hls::error::HlsError::UnalignedPushTs::len: usize
pub tst_hls::error::HlsError::Url(tst_hls::url::HlsUrlError)
impl tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::kind(&self) -> tst_hls::error::HlsErrorKind
impl core::convert::From<core::io::error::Error> for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::from(core::io::error::Error) -> Self
impl core::convert::From<tst_hls::url::HlsUrlError> for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::from(tst_hls::url::HlsUrlError) -> Self
impl core::error::Error for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
impl core::fmt::Debug for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::error::HlsError
impl core::marker::Send for tst_hls::error::HlsError
impl core::marker::Sync for tst_hls::error::HlsError
impl core::marker::Unpin for tst_hls::error::HlsError
impl core::marker::UnsafeUnpin for tst_hls::error::HlsError
impl !core::panic::unwind_safe::RefUnwindSafe for tst_hls::error::HlsError
impl !core::panic::unwind_safe::UnwindSafe for tst_hls::error::HlsError
#[non_exhaustive] #[repr(u32)] pub enum tst_hls::error::HlsErrorKind
pub tst_hls::error::HlsErrorKind::BindFailed = 3
pub tst_hls::error::HlsErrorKind::Finished = 6
pub tst_hls::error::HlsErrorKind::Internal = 9
pub tst_hls::error::HlsErrorKind::InvalidConfig = 4
pub tst_hls::error::HlsErrorKind::Io = 2
pub tst_hls::error::HlsErrorKind::Tls = 8
pub tst_hls::error::HlsErrorKind::TlsDisabled = 7
pub tst_hls::error::HlsErrorKind::UnalignedPushTs = 5
pub tst_hls::error::HlsErrorKind::Url = 1
impl core::clone::Clone for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::clone(&self) -> tst_hls::error::HlsErrorKind
impl core::cmp::Eq for tst_hls::error::HlsErrorKind
impl core::cmp::PartialEq for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::eq(&self, &tst_hls::error::HlsErrorKind) -> bool
impl core::fmt::Debug for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::hash::Hash for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::hash<__H: core::hash::Hasher>(&self, &mut __H)
impl core::marker::Copy for tst_hls::error::HlsErrorKind
impl core::marker::StructuralPartialEq for tst_hls::error::HlsErrorKind
impl core::marker::Freeze for tst_hls::error::HlsErrorKind
impl core::marker::Send for tst_hls::error::HlsErrorKind
impl core::marker::Sync for tst_hls::error::HlsErrorKind
impl core::marker::Unpin for tst_hls::error::HlsErrorKind
impl core::marker::UnsafeUnpin for tst_hls::error::HlsErrorKind
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::error::HlsErrorKind
impl core::panic::unwind_safe::UnwindSafe for tst_hls::error::HlsErrorKind
pub mod tst_hls::publisher
pub struct tst_hls::publisher::HlsPublisher
impl tst_hls::publisher::HlsPublisher
pub fn tst_hls::publisher::HlsPublisher::finish_serving(self) -> core::result::Result<tst_hls::publisher::HlsServerHandle, tst_hls::error::HlsError>
impl tst_hls::publisher::HlsPublisher
pub fn tst_hls::publisher::HlsPublisher::hls_stats(&self) -> tst_hls::stats::HlsStats
pub fn tst_hls::publisher::HlsPublisher::local_addr(&self) -> core::option::Option<core::net::socket_addr::SocketAddr>
pub fn tst_hls::publisher::HlsPublisher::render_playlist(&self, bool) -> alloc::string::String
pub fn tst_hls::publisher::HlsPublisher::with_config(tst_hls::config::HlsConfig) -> core::result::Result<Self, tst_hls::error::HlsError>
impl tst_core::publisher::Publisher for tst_hls::publisher::HlsPublisher
pub type tst_hls::publisher::HlsPublisher::Error = tst_hls::error::HlsError
pub fn tst_hls::publisher::HlsPublisher::cut_segment(&mut self) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::cut_segment_with_duration(&mut self, core::time::Duration) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::finish(self) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::push_ts(&mut self, &[u8]) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::stats(&self) -> tst_core::publisher::PublisherStats
impl !core::marker::Freeze for tst_hls::publisher::HlsPublisher
impl core::marker::Send for tst_hls::publisher::HlsPublisher
impl core::marker::Sync for tst_hls::publisher::HlsPublisher
impl core::marker::Unpin for tst_hls::publisher::HlsPublisher
impl core::marker::UnsafeUnpin for tst_hls::publisher::HlsPublisher
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::publisher::HlsPublisher
impl core::panic::unwind_safe::UnwindSafe for tst_hls::publisher::HlsPublisher
pub struct tst_hls::publisher::HlsServerHandle
impl tst_hls::publisher::HlsServerHandle
pub fn tst_hls::publisher::HlsServerHandle::local_addr(&self) -> core::net::socket_addr::SocketAddr
pub fn tst_hls::publisher::HlsServerHandle::shutdown(self)
impl !core::marker::Freeze for tst_hls::publisher::HlsServerHandle
impl core::marker::Send for tst_hls::publisher::HlsServerHandle
impl core::marker::Sync for tst_hls::publisher::HlsServerHandle
impl core::marker::Unpin for tst_hls::publisher::HlsServerHandle
impl core::marker::UnsafeUnpin for tst_hls::publisher::HlsServerHandle
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::publisher::HlsServerHandle
impl core::panic::unwind_safe::UnwindSafe for tst_hls::publisher::HlsServerHandle
pub mod tst_hls::stats
#[non_exhaustive] pub struct tst_hls::stats::HlsStats
pub tst_hls::stats::HlsStats::bytes_pushed_total: u64
pub tst_hls::stats::HlsStats::forced_cuts: u64
pub tst_hls::stats::HlsStats::open_segment_bytes: u64
pub tst_hls::stats::HlsStats::segments_written: u64
impl core::clone::Clone for tst_hls::stats::HlsStats
pub fn tst_hls::stats::HlsStats::clone(&self) -> tst_hls::stats::HlsStats
impl core::default::Default for tst_hls::stats::HlsStats
pub fn tst_hls::stats::HlsStats::default() -> tst_hls::stats::HlsStats
impl core::fmt::Debug for tst_hls::stats::HlsStats
pub fn tst_hls::stats::HlsStats::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for tst_hls::stats::HlsStats
impl core::marker::Freeze for tst_hls::stats::HlsStats
impl core::marker::Send for tst_hls::stats::HlsStats
impl core::marker::Sync for tst_hls::stats::HlsStats
impl core::marker::Unpin for tst_hls::stats::HlsStats
impl core::marker::UnsafeUnpin for tst_hls::stats::HlsStats
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::stats::HlsStats
impl core::panic::unwind_safe::UnwindSafe for tst_hls::stats::HlsStats
pub mod tst_hls::url
#[non_exhaustive] pub enum tst_hls::url::HlsUrlError
pub tst_hls::url::HlsUrlError::BadHost(alloc::string::String)
pub tst_hls::url::HlsUrlError::BadQueryValue
pub tst_hls::url::HlsUrlError::BadQueryValue::detail: alloc::string::String
pub tst_hls::url::HlsUrlError::BadQueryValue::key: alloc::string::String
pub tst_hls::url::HlsUrlError::BadQueryValue::value: alloc::string::String
pub tst_hls::url::HlsUrlError::BadScheme(alloc::string::String)
pub tst_hls::url::HlsUrlError::MissingPort
pub tst_hls::url::HlsUrlError::Parse(tst_core::url::common::UrlError)
impl core::convert::From<tst_core::url::common::UrlError> for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::from(tst_core::url::common::UrlError) -> Self
impl core::convert::From<tst_hls::url::HlsUrlError> for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::from(tst_hls::url::HlsUrlError) -> Self
impl core::error::Error for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
impl core::fmt::Debug for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::url::HlsUrlError
impl core::marker::Send for tst_hls::url::HlsUrlError
impl core::marker::Sync for tst_hls::url::HlsUrlError
impl core::marker::Unpin for tst_hls::url::HlsUrlError
impl core::marker::UnsafeUnpin for tst_hls::url::HlsUrlError
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::url::HlsUrlError
impl core::panic::unwind_safe::UnwindSafe for tst_hls::url::HlsUrlError
pub struct tst_hls::url::HlsUrl
pub tst_hls::url::HlsUrl::addr: core::net::ip_addr::IpAddr
pub tst_hls::url::HlsUrl::auth_pass: core::option::Option<alloc::string::String>
pub tst_hls::url::HlsUrl::auth_user: core::option::Option<alloc::string::String>
pub tst_hls::url::HlsUrl::cert: core::option::Option<alloc::string::String>
pub tst_hls::url::HlsUrl::key: core::option::Option<alloc::string::String>
pub tst_hls::url::HlsUrl::mode: core::option::Option<tst_hls::config::HlsMode>
pub tst_hls::url::HlsUrl::output_dir: core::option::Option<alloc::string::String>
pub tst_hls::url::HlsUrl::playlist_window: core::option::Option<usize>
pub tst_hls::url::HlsUrl::port: u16
pub tst_hls::url::HlsUrl::segment_duration: core::option::Option<core::time::Duration>
pub tst_hls::url::HlsUrl::tls: bool
impl tst_hls::url::HlsUrl
pub fn tst_hls::url::HlsUrl::parse(&str) -> core::result::Result<Self, tst_hls::url::HlsUrlError>
impl core::clone::Clone for tst_hls::url::HlsUrl
pub fn tst_hls::url::HlsUrl::clone(&self) -> tst_hls::url::HlsUrl
impl core::fmt::Debug for tst_hls::url::HlsUrl
pub fn tst_hls::url::HlsUrl::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::url::HlsUrl
impl core::marker::Send for tst_hls::url::HlsUrl
impl core::marker::Sync for tst_hls::url::HlsUrl
impl core::marker::Unpin for tst_hls::url::HlsUrl
impl core::marker::UnsafeUnpin for tst_hls::url::HlsUrl
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::url::HlsUrl
impl core::panic::unwind_safe::UnwindSafe for tst_hls::url::HlsUrl
#[non_exhaustive] pub enum tst_hls::HlsError
pub tst_hls::HlsError::BindFailed(alloc::string::String)
pub tst_hls::HlsError::Finished
pub tst_hls::HlsError::Internal(alloc::string::String)
pub tst_hls::HlsError::InvalidConfig(alloc::string::String)
pub tst_hls::HlsError::Io(core::io::error::Error)
pub tst_hls::HlsError::Tls(alloc::string::String)
pub tst_hls::HlsError::TlsDisabled
pub tst_hls::HlsError::UnalignedPushTs
pub tst_hls::HlsError::UnalignedPushTs::len: usize
pub tst_hls::HlsError::Url(tst_hls::url::HlsUrlError)
impl tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::kind(&self) -> tst_hls::error::HlsErrorKind
impl core::convert::From<core::io::error::Error> for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::from(core::io::error::Error) -> Self
impl core::convert::From<tst_hls::url::HlsUrlError> for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::from(tst_hls::url::HlsUrlError) -> Self
impl core::error::Error for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
impl core::fmt::Debug for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::error::HlsError
impl core::marker::Send for tst_hls::error::HlsError
impl core::marker::Sync for tst_hls::error::HlsError
impl core::marker::Unpin for tst_hls::error::HlsError
impl core::marker::UnsafeUnpin for tst_hls::error::HlsError
impl !core::panic::unwind_safe::RefUnwindSafe for tst_hls::error::HlsError
impl !core::panic::unwind_safe::UnwindSafe for tst_hls::error::HlsError
#[non_exhaustive] #[repr(u32)] pub enum tst_hls::HlsErrorKind
pub tst_hls::HlsErrorKind::BindFailed = 3
pub tst_hls::HlsErrorKind::Finished = 6
pub tst_hls::HlsErrorKind::Internal = 9
pub tst_hls::HlsErrorKind::InvalidConfig = 4
pub tst_hls::HlsErrorKind::Io = 2
pub tst_hls::HlsErrorKind::Tls = 8
pub tst_hls::HlsErrorKind::TlsDisabled = 7
pub tst_hls::HlsErrorKind::UnalignedPushTs = 5
pub tst_hls::HlsErrorKind::Url = 1
impl core::clone::Clone for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::clone(&self) -> tst_hls::error::HlsErrorKind
impl core::cmp::Eq for tst_hls::error::HlsErrorKind
impl core::cmp::PartialEq for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::eq(&self, &tst_hls::error::HlsErrorKind) -> bool
impl core::fmt::Debug for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::hash::Hash for tst_hls::error::HlsErrorKind
pub fn tst_hls::error::HlsErrorKind::hash<__H: core::hash::Hasher>(&self, &mut __H)
impl core::marker::Copy for tst_hls::error::HlsErrorKind
impl core::marker::StructuralPartialEq for tst_hls::error::HlsErrorKind
impl core::marker::Freeze for tst_hls::error::HlsErrorKind
impl core::marker::Send for tst_hls::error::HlsErrorKind
impl core::marker::Sync for tst_hls::error::HlsErrorKind
impl core::marker::Unpin for tst_hls::error::HlsErrorKind
impl core::marker::UnsafeUnpin for tst_hls::error::HlsErrorKind
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::error::HlsErrorKind
impl core::panic::unwind_safe::UnwindSafe for tst_hls::error::HlsErrorKind
pub enum tst_hls::HlsMode
pub tst_hls::HlsMode::Event
pub tst_hls::HlsMode::Live
pub tst_hls::HlsMode::Vod
impl core::clone::Clone for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::clone(&self) -> tst_hls::config::HlsMode
impl core::cmp::Eq for tst_hls::config::HlsMode
impl core::cmp::PartialEq for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::eq(&self, &tst_hls::config::HlsMode) -> bool
impl core::fmt::Debug for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::hash::Hash for tst_hls::config::HlsMode
pub fn tst_hls::config::HlsMode::hash<__H: core::hash::Hasher>(&self, &mut __H)
impl core::marker::Copy for tst_hls::config::HlsMode
impl core::marker::StructuralPartialEq for tst_hls::config::HlsMode
impl core::marker::Freeze for tst_hls::config::HlsMode
impl core::marker::Send for tst_hls::config::HlsMode
impl core::marker::Sync for tst_hls::config::HlsMode
impl core::marker::Unpin for tst_hls::config::HlsMode
impl core::marker::UnsafeUnpin for tst_hls::config::HlsMode
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::config::HlsMode
impl core::panic::unwind_safe::UnwindSafe for tst_hls::config::HlsMode
#[non_exhaustive] pub enum tst_hls::HlsUrlError
pub tst_hls::HlsUrlError::BadHost(alloc::string::String)
pub tst_hls::HlsUrlError::BadQueryValue
pub tst_hls::HlsUrlError::BadQueryValue::detail: alloc::string::String
pub tst_hls::HlsUrlError::BadQueryValue::key: alloc::string::String
pub tst_hls::HlsUrlError::BadQueryValue::value: alloc::string::String
pub tst_hls::HlsUrlError::BadScheme(alloc::string::String)
pub tst_hls::HlsUrlError::MissingPort
pub tst_hls::HlsUrlError::Parse(tst_core::url::common::UrlError)
impl core::convert::From<tst_core::url::common::UrlError> for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::from(tst_core::url::common::UrlError) -> Self
impl core::convert::From<tst_hls::url::HlsUrlError> for tst_hls::error::HlsError
pub fn tst_hls::error::HlsError::from(tst_hls::url::HlsUrlError) -> Self
impl core::error::Error for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
impl core::fmt::Debug for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for tst_hls::url::HlsUrlError
pub fn tst_hls::url::HlsUrlError::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::url::HlsUrlError
impl core::marker::Send for tst_hls::url::HlsUrlError
impl core::marker::Sync for tst_hls::url::HlsUrlError
impl core::marker::Unpin for tst_hls::url::HlsUrlError
impl core::marker::UnsafeUnpin for tst_hls::url::HlsUrlError
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::url::HlsUrlError
impl core::panic::unwind_safe::UnwindSafe for tst_hls::url::HlsUrlError
#[non_exhaustive] pub struct tst_hls::HlsConfig
pub tst_hls::HlsConfig::basic_auth: core::option::Option<(alloc::string::String, alloc::string::String)>
pub tst_hls::HlsConfig::bind: core::net::socket_addr::SocketAddr
pub tst_hls::HlsConfig::max_segment_duration: core::option::Option<core::time::Duration>
pub tst_hls::HlsConfig::mode: tst_hls::config::HlsMode
pub tst_hls::HlsConfig::output_dir: std::path::PathBuf
pub tst_hls::HlsConfig::playlist_window: usize
pub tst_hls::HlsConfig::segment_duration: core::time::Duration
pub tst_hls::HlsConfig::tls_cert: core::option::Option<std::path::PathBuf>
pub tst_hls::HlsConfig::tls_key: core::option::Option<std::path::PathBuf>
impl tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::merge_from_url(&mut self, &tst_hls::url::HlsUrl)
pub fn tst_hls::config::HlsConfig::validate(&self) -> core::option::Option<alloc::string::String>
impl core::clone::Clone for tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::clone(&self) -> tst_hls::config::HlsConfig
impl core::default::Default for tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::default() -> Self
impl core::fmt::Debug for tst_hls::config::HlsConfig
pub fn tst_hls::config::HlsConfig::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::config::HlsConfig
impl core::marker::Send for tst_hls::config::HlsConfig
impl core::marker::Sync for tst_hls::config::HlsConfig
impl core::marker::Unpin for tst_hls::config::HlsConfig
impl core::marker::UnsafeUnpin for tst_hls::config::HlsConfig
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::config::HlsConfig
impl core::panic::unwind_safe::UnwindSafe for tst_hls::config::HlsConfig
pub struct tst_hls::HlsPublisher
impl tst_hls::publisher::HlsPublisher
pub fn tst_hls::publisher::HlsPublisher::finish_serving(self) -> core::result::Result<tst_hls::publisher::HlsServerHandle, tst_hls::error::HlsError>
impl tst_hls::publisher::HlsPublisher
pub fn tst_hls::publisher::HlsPublisher::hls_stats(&self) -> tst_hls::stats::HlsStats
pub fn tst_hls::publisher::HlsPublisher::local_addr(&self) -> core::option::Option<core::net::socket_addr::SocketAddr>
pub fn tst_hls::publisher::HlsPublisher::render_playlist(&self, bool) -> alloc::string::String
pub fn tst_hls::publisher::HlsPublisher::with_config(tst_hls::config::HlsConfig) -> core::result::Result<Self, tst_hls::error::HlsError>
impl tst_core::publisher::Publisher for tst_hls::publisher::HlsPublisher
pub type tst_hls::publisher::HlsPublisher::Error = tst_hls::error::HlsError
pub fn tst_hls::publisher::HlsPublisher::cut_segment(&mut self) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::cut_segment_with_duration(&mut self, core::time::Duration) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::finish(self) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::push_ts(&mut self, &[u8]) -> core::result::Result<(), tst_hls::error::HlsError>
pub fn tst_hls::publisher::HlsPublisher::stats(&self) -> tst_core::publisher::PublisherStats
impl !core::marker::Freeze for tst_hls::publisher::HlsPublisher
impl core::marker::Send for tst_hls::publisher::HlsPublisher
impl core::marker::Sync for tst_hls::publisher::HlsPublisher
impl core::marker::Unpin for tst_hls::publisher::HlsPublisher
impl core::marker::UnsafeUnpin for tst_hls::publisher::HlsPublisher
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::publisher::HlsPublisher
impl core::panic::unwind_safe::UnwindSafe for tst_hls::publisher::HlsPublisher
pub struct tst_hls::HlsPublisherBuilder
impl tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::basic_auth<S: core::convert::Into<alloc::string::String>>(self, S, S) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::bind(self, core::net::socket_addr::SocketAddr) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::build(self) -> core::result::Result<tst_hls::publisher::HlsPublisher, tst_hls::error::HlsError>
pub fn tst_hls::builder::HlsPublisherBuilder::enable_tls<P: core::convert::AsRef<std::path::Path>>(self, P, P) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::from_url(&str) -> core::result::Result<Self, tst_hls::url::HlsUrlError>
pub fn tst_hls::builder::HlsPublisherBuilder::max_segment_duration(self, core::time::Duration) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::mode(self, tst_hls::config::HlsMode) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::new() -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::output_dir<P: core::convert::AsRef<std::path::Path>>(self, P) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::playlist_window(self, usize) -> Self
pub fn tst_hls::builder::HlsPublisherBuilder::segment_duration(self, core::time::Duration) -> Self
impl core::clone::Clone for tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::clone(&self) -> tst_hls::builder::HlsPublisherBuilder
impl core::default::Default for tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::default() -> Self
impl core::fmt::Debug for tst_hls::builder::HlsPublisherBuilder
pub fn tst_hls::builder::HlsPublisherBuilder::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::builder::HlsPublisherBuilder
impl core::marker::Send for tst_hls::builder::HlsPublisherBuilder
impl core::marker::Sync for tst_hls::builder::HlsPublisherBuilder
impl core::marker::Unpin for tst_hls::builder::HlsPublisherBuilder
impl core::marker::UnsafeUnpin for tst_hls::builder::HlsPublisherBuilder
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::builder::HlsPublisherBuilder
impl core::panic::unwind_safe::UnwindSafe for tst_hls::builder::HlsPublisherBuilder
pub struct tst_hls::HlsServerHandle
impl tst_hls::publisher::HlsServerHandle
pub fn tst_hls::publisher::HlsServerHandle::local_addr(&self) -> core::net::socket_addr::SocketAddr
pub fn tst_hls::publisher::HlsServerHandle::shutdown(self)
impl !core::marker::Freeze for tst_hls::publisher::HlsServerHandle
impl core::marker::Send for tst_hls::publisher::HlsServerHandle
impl core::marker::Sync for tst_hls::publisher::HlsServerHandle
impl core::marker::Unpin for tst_hls::publisher::HlsServerHandle
impl core::marker::UnsafeUnpin for tst_hls::publisher::HlsServerHandle
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::publisher::HlsServerHandle
impl core::panic::unwind_safe::UnwindSafe for tst_hls::publisher::HlsServerHandle
#[non_exhaustive] pub struct tst_hls::HlsStats
pub tst_hls::HlsStats::bytes_pushed_total: u64
pub tst_hls::HlsStats::forced_cuts: u64
pub tst_hls::HlsStats::open_segment_bytes: u64
pub tst_hls::HlsStats::segments_written: u64
impl core::clone::Clone for tst_hls::stats::HlsStats
pub fn tst_hls::stats::HlsStats::clone(&self) -> tst_hls::stats::HlsStats
impl core::default::Default for tst_hls::stats::HlsStats
pub fn tst_hls::stats::HlsStats::default() -> tst_hls::stats::HlsStats
impl core::fmt::Debug for tst_hls::stats::HlsStats
pub fn tst_hls::stats::HlsStats::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Copy for tst_hls::stats::HlsStats
impl core::marker::Freeze for tst_hls::stats::HlsStats
impl core::marker::Send for tst_hls::stats::HlsStats
impl core::marker::Sync for tst_hls::stats::HlsStats
impl core::marker::Unpin for tst_hls::stats::HlsStats
impl core::marker::UnsafeUnpin for tst_hls::stats::HlsStats
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::stats::HlsStats
impl core::panic::unwind_safe::UnwindSafe for tst_hls::stats::HlsStats
pub struct tst_hls::HlsUrl
pub tst_hls::HlsUrl::addr: core::net::ip_addr::IpAddr
pub tst_hls::HlsUrl::auth_pass: core::option::Option<alloc::string::String>
pub tst_hls::HlsUrl::auth_user: core::option::Option<alloc::string::String>
pub tst_hls::HlsUrl::cert: core::option::Option<alloc::string::String>
pub tst_hls::HlsUrl::key: core::option::Option<alloc::string::String>
pub tst_hls::HlsUrl::mode: core::option::Option<tst_hls::config::HlsMode>
pub tst_hls::HlsUrl::output_dir: core::option::Option<alloc::string::String>
pub tst_hls::HlsUrl::playlist_window: core::option::Option<usize>
pub tst_hls::HlsUrl::port: u16
pub tst_hls::HlsUrl::segment_duration: core::option::Option<core::time::Duration>
pub tst_hls::HlsUrl::tls: bool
impl tst_hls::url::HlsUrl
pub fn tst_hls::url::HlsUrl::parse(&str) -> core::result::Result<Self, tst_hls::url::HlsUrlError>
impl core::clone::Clone for tst_hls::url::HlsUrl
pub fn tst_hls::url::HlsUrl::clone(&self) -> tst_hls::url::HlsUrl
impl core::fmt::Debug for tst_hls::url::HlsUrl
pub fn tst_hls::url::HlsUrl::fmt(&self, &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::marker::Freeze for tst_hls::url::HlsUrl
impl core::marker::Send for tst_hls::url::HlsUrl
impl core::marker::Sync for tst_hls::url::HlsUrl
impl core::marker::Unpin for tst_hls::url::HlsUrl
impl core::marker::UnsafeUnpin for tst_hls::url::HlsUrl
impl core::panic::unwind_safe::RefUnwindSafe for tst_hls::url::HlsUrl
impl core::panic::unwind_safe::UnwindSafe for tst_hls::url::HlsUrl
