[−][src]Struct libsrt_sys::SRT_EPOLL_OPT
Implementations
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_OPT_NONE: SRT_EPOLL_OPT
[src]
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_IN: SRT_EPOLL_OPT
[src]
Ready for 'recv' operation:
-
For stream mode it means that at least 1 byte is available. In this mode the buffer may extract only a part of the packet, leaving next data possible for extraction later.
-
For message mode it means that there is at least one packet available (this may change in future, as it is desired that one full message should only wake up, not single packet of a not yet extractable message).
-
For live mode it means that there's at least one packet ready to play.
-
For listener sockets, this means that there is a new connection waiting for pickup through the
srt_accept()
call, that is, the next call tosrt_accept()
will succeed without blocking (see an alias SRT_EPOLL_ACCEPT below).
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_OUT: SRT_EPOLL_OPT
[src]
Ready for 'send' operation.
-
For stream mode it means that there's a free space in the sender buffer for at least 1 byte of data. The next send operation will only allow to send as much data as it is free space in the buffer.
-
For message mode it means that there's a free space for at least one UDP packet. The edge-triggered mode can be used to pick up updates as the free space in the sender buffer grows.
-
For live mode it means that there's a free space for at least one UDP packet. On the other hand, no readiness for OUT usually means an extraordinary congestion on the link, meaning also that you should immediately slow down the sending rate or you may get a connection break soon.
-
For non-blocking sockets used with
srt_connect*
operation, this flag simply means that the connection was established.
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_ERR: SRT_EPOLL_OPT
[src]
The socket has encountered an error in the last operation and the next operation on that socket will end up with error. You can retry the operation, but getting the error from it is certain, so you may as well close the socket.
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_CONNECT: SRT_EPOLL_OPT
[src]
The socket has encountered an error in the last operation and the next operation on that socket will end up with error. You can retry the operation, but getting the error from it is certain, so you may as well close the socket.
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_ACCEPT: SRT_EPOLL_OPT
[src]
The socket has encountered an error in the last operation and the next operation on that socket will end up with error. You can retry the operation, but getting the error from it is certain, so you may as well close the socket.
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_UPDATE: SRT_EPOLL_OPT
[src]
The socket has encountered an error in the last operation and the next operation on that socket will end up with error. You can retry the operation, but getting the error from it is certain, so you may as well close the socket.
impl SRT_EPOLL_OPT
[src]
pub const SRT_EPOLL_ET: SRT_EPOLL_OPT
[src]
The socket has encountered an error in the last operation and the next operation on that socket will end up with error. You can retry the operation, but getting the error from it is certain, so you may as well close the socket.
Trait Implementations
impl BitAnd<SRT_EPOLL_OPT> for SRT_EPOLL_OPT
[src]
type Output = Self
The resulting type after applying the &
operator.
pub fn bitand(self, other: Self) -> Self
[src]
impl BitAndAssign<SRT_EPOLL_OPT> for SRT_EPOLL_OPT
[src]
pub fn bitand_assign(&mut self, rhs: SRT_EPOLL_OPT)
[src]
impl BitOr<SRT_EPOLL_OPT> for SRT_EPOLL_OPT
[src]
type Output = Self
The resulting type after applying the |
operator.
pub fn bitor(self, other: Self) -> Self
[src]
impl BitOrAssign<SRT_EPOLL_OPT> for SRT_EPOLL_OPT
[src]
pub fn bitor_assign(&mut self, rhs: SRT_EPOLL_OPT)
[src]
impl Clone for SRT_EPOLL_OPT
[src]
pub fn clone(&self) -> SRT_EPOLL_OPT
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SRT_EPOLL_OPT
[src]
impl Debug for SRT_EPOLL_OPT
[src]
impl Eq for SRT_EPOLL_OPT
[src]
impl Hash for SRT_EPOLL_OPT
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SRT_EPOLL_OPT> for SRT_EPOLL_OPT
[src]
pub fn eq(&self, other: &SRT_EPOLL_OPT) -> bool
[src]
pub fn ne(&self, other: &SRT_EPOLL_OPT) -> bool
[src]
impl StructuralEq for SRT_EPOLL_OPT
[src]
impl StructuralPartialEq for SRT_EPOLL_OPT
[src]
Auto Trait Implementations
impl RefUnwindSafe for SRT_EPOLL_OPT
impl Send for SRT_EPOLL_OPT
impl Sync for SRT_EPOLL_OPT
impl Unpin for SRT_EPOLL_OPT
impl UnwindSafe for SRT_EPOLL_OPT
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> From<T> for T
[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>,