[−][src]Struct sctpx::client::Hdr
SCTP handler
Implementations
impl Hdr
[src]
pub fn new() -> Result<Hdr>
[src]
create a new handler
pub fn sendto_straddr(&self, data: &[u8], server_addr: &str) -> Result<usize>
[src]
sendmsg to server
pub fn sendto(&self, data: &[u8], server_addr: SocketAddr) -> Result<usize>
[src]
sendmsg to server
pub fn recvfrom(&self, data: &mut [u8]) -> Result<(usize, Option<SockAddr>)>
[src]
recvmsg from server
Trait Implementations
impl Debug for Hdr
[src]
impl Drop for Hdr
[src]
impl Eq for Hdr
[src]
impl Hash for Hdr
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
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, 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>,