pub trait SocketExtManual: Sized {
    fn receive<B: AsMut<[u8]>>(
        &self,
        buffer: B,
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error>; fn receive_from<B: AsMut<[u8]>>(
        &self,
        buffer: B,
        cancellable: Option<&Cancellable>
    ) -> Result<(usize, SocketAddress), Error>; fn receive_with_blocking<B: AsMut<[u8]>>(
        &self,
        buffer: B,
        blocking: bool,
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error>; fn send<B: AsRef<[u8]>>(
        &self,
        buffer: B,
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error>; fn send_to<B: AsRef<[u8]>, P: IsA<SocketAddress>>(
        &self,
        address: Option<&P>,
        buffer: B,
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error>; fn send_with_blocking<B: AsRef<[u8]>>(
        &self,
        buffer: B,
        blocking: bool,
        cancellable: Option<&Cancellable>
    ) -> Result<usize, Error>; fn get_fd<T: FromRawFd>(&self) -> T; fn create_source<F>(
        &self,
        condition: IOCondition,
        cancellable: Option<&Cancellable>,
        name: Option<&str>,
        priority: Priority,
        func: F
    ) -> Source
    where
        F: FnMut(&Self, IOCondition) -> Continue + 'static
; }

Required Methods

Implementors