Struct icecast_stats::IcecastStats [−][src]
Basic server information
Fields
source: Option<IcecastStatsSourceEnum>
List of active streaming sources
Implementations
impl IcecastStats
[src]
pub fn admin(&self) -> &String
[src]
As set in the server config, this should contain contact details for getting in touch with the server administrator. Usually this will be an email address, but as this can be an arbitrary string it could also be a phone number.
Example: icemaster@localhost
pub fn client_connections(&self) -> &Option<u32>
[src]
Client connections are basically anything that is not a source connection. These include listeners (not concurrent, but cumulative), any admin function accesses, and any static content (file serving) accesses. This is an accumulating counter.
pub fn clients(&self) -> &Option<u32>
[src]
Number of currently active client connections.
pub fn connections(&self) -> &Option<u32>
[src]
The total of all inbound TCP connections since start-up. This is an accumulating counter.
pub fn file_connections(&self) -> &Option<u32>
[src]
This is an accumulating counter.
pub fn host(&self) -> &String
[src]
As set in the server config, this should be the full DNS resolveable name or FQDN for the host on which this Icecast instance is running.
Example: localhost
pub fn listener_connections(&self) -> &Option<u32>
[src]
Number of listener connections to mount points. This is an accumulating counter.
pub fn listeners(&self) -> &Option<u32>
[src]
Number of currently active listener connections.
pub fn location(&self) -> &String
[src]
As set in the server config, this is a free form field that should describe e.g. the physical location of this server.
Example: Earth
pub fn server_id(&self) -> &String
[src]
Defaults to the version string of the currently running Icecast server. While not recommended it can be overriden in the server config.
Example: Icecast 2.4.4
pub fn source_client_connections(&self) -> &Option<u32>
[src]
Source client connections are the number of times (cumulative since start-up, not just currently connected) a source client has connected to Icecast. This is an accumulating counter.
pub fn source_relay_connections(&self) -> &Option<u32>
[src]
Number of outbound relay connections to (master) icecast servers. This is an accumulating counter.
pub fn source_total_connections(&self) -> &Option<u32>
[src]
Both clients and relays. This is an accumulating counter.
pub fn sources(&self) -> &Option<u32>
[src]
The total of currently connected sources.
pub fn stats(&self) -> &Option<u32>
[src]
The total of currently connected STATS clients.
pub fn stats_connections(&self) -> &Option<u32>
[src]
Number of times a stats client has connected to Icecast. This is an accumulating counter.
pub fn server_start_iso8601(&self) -> &String
[src]
Timestamp of server startup in ISO 8601 date format.
Example: 2021-04-09T21:49:50+0200
Trait Implementations
impl Clone for IcecastStats
[src]
fn clone(&self) -> IcecastStats
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IcecastStats
[src]
impl<'de> Deserialize<'de> for IcecastStats
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for IcecastStats
[src]
Auto Trait Implementations
impl RefUnwindSafe for IcecastStats
impl Send for IcecastStats
impl Sync for IcecastStats
impl Unpin for IcecastStats
impl UnwindSafe for IcecastStats
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,