[][src]Struct sctpx::server::Hdr

pub struct Hdr { /* fields omitted */ }

SCTP handler

Implementations

impl Hdr[src]

pub fn sendto(&self, data: &[u8], peeraddr: &PeerAddr) -> Result<usize>[src]

公开此接口, 回调函数可以按需向对端回复消息

Trait Implementations

impl Debug for Hdr[src]

impl Drop for Hdr[src]

impl Eq for Hdr[src]

impl Hash for Hdr[src]

impl PartialEq<Hdr> for Hdr[src]

impl StructuralEq for Hdr[src]

impl StructuralPartialEq for Hdr[src]

Auto Trait Implementations

impl RefUnwindSafe for Hdr

impl Send for Hdr

impl Sync for Hdr

impl Unpin for Hdr

impl UnwindSafe for Hdr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.