Docs.rs
  • srt-c-0.3.0
    • srt-c 0.3.0
    • Docs.rs crate page
    • Apache-2.0
    • 14 January 2022
    • Links
    • crates.io
    • Source
    • Owners
    • MarcAntoine-Arnaud
    • russelltg
    • Dependencies
      • bytes ^1 normal
      • futures ^0.3 normal
      • lazy_static ^1 normal
      • libc ^0.2 normal
      • log ^0.4 normal
      • os_socketaddr ^0.2 normal
      • pretty_env_logger ^0.4 normal
      • srt-protocol ^0.3.0 normal
      • srt-tokio ^0.3.0 normal
      • thiserror ^1 normal
      • tokio ^1 normal
      • cc ^1.0 build
      • winapi ^0.3 normal
    • Versions
    • 13.97% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
☰
logo

Crate srt_c

Version 0.3.0

See all srt_c's items

  • Structs
  • Enums
  • Constants
  • Functions
  • Type Definitions
logo
Change settings

Crate srt_c

source[−]

Structs

SRT_EPOLL_EVENT
SRT_MSGCTRL
SRT_TRACEBSTATS

Enums

SRT_EPOLL_OPT
SRT_KM_STATE
SRT_SOCKOPT
SRT_SOCKSTATUS
SRT_TRANSTYPE

Constants

LAST_ERROR
LAST_ERROR_STR
LOG_ALERT

action must be taken immediately

LOG_CRIT

critical conditions

LOG_DEBUG

debug-level messages

LOG_EMERG

system is unstable

LOG_ERR

error conditions

LOG_INFO

informational

LOG_NOTICE

normal but significant condition

LOG_WARNING

warning conditions

SRT_EPOLL_ACCEPT
SRT_EPOLL_CONNECT
SRT_ERROR

Error return code

SRT_INVALID_SOCK
SRT_LIVE_DEF_PLSIZE

Functions

srt_accept
srt_bind
srt_bstats
srt_cleanup
srt_close
srt_connect
srt_create_socket
srt_epoll_add_usock
srt_epoll_create
srt_epoll_release
srt_epoll_remove_usock
srt_epoll_uwait
srt_epoll_wait
srt_getlasterror
srt_getlasterror_str
srt_getpeername
srt_getsockflag⚠

Safety

srt_getsockname
srt_getsockopt⚠

Safety

srt_getsockstate
srt_listen
srt_listen_callback⚠

Safety

srt_recv

Returns the number of bytes read

srt_recvmsg
srt_send
srt_sendmsg
srt_sendmsg2

Returns number of bytes written

srt_setloglevel
srt_setsockflag⚠

Safety

srt_setsockopt⚠

Safety

srt_startup

Type Definitions

SRTSOCKET