[−][src]Enum reliudp::SocketStatus
Represents the internal connection status of the Socket
Variants
TimeoutError(u64)
TerminateSent(u64)
TerminateReceived(u64)
Methods
impl SocketStatus
[src]
pub fn is_connected(self) -> bool
[src]
pub fn is_finished(self) -> bool
[src]
pub fn is_finished_and_old(self, current_t: u64) -> bool
[src]
Returns true if the connection is finished and old enough to be deleted permanently.
Trait Implementations
impl Clone for SocketStatus
[src]
fn clone(&self) -> SocketStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SocketStatus
[src]
impl Debug for SocketStatus
[src]
impl Eq for SocketStatus
[src]
impl PartialEq<SocketStatus> for SocketStatus
[src]
fn eq(&self, other: &SocketStatus) -> bool
[src]
fn ne(&self, other: &SocketStatus) -> bool
[src]
impl StructuralEq for SocketStatus
[src]
impl StructuralPartialEq for SocketStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for SocketStatus
impl Send for SocketStatus
impl Sync for SocketStatus
impl Unpin for SocketStatus
impl UnwindSafe for SocketStatus
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,