[−][src]Struct over_there_wire::OutboundWire
Wire for outbound communication
Methods
impl<S, E> OutboundWire<S, E> where
S: Signer,
E: Encrypter,
[src]
S: Signer,
E: Encrypter,
pub fn new(transmission_size: usize, signer: S, encrypter: E) -> Self
[src]
pub fn with_tcp_stream(
self,
stream: WriteHalf<TcpStream>
) -> TcpStreamOutboundWire<S, E>
[src]
self,
stream: WriteHalf<TcpStream>
) -> TcpStreamOutboundWire<S, E>
pub fn with_udp_socket(self, socket: SendHalf) -> UdpSocketOutboundWire<S, E>
[src]
pub fn process(&mut self, buf: &[u8]) -> Result<Vec<Vec<u8>>, OutboundWireError>
[src]
Trait Implementations
impl<S: Clone, E: Clone> Clone for OutboundWire<S, E> where
S: Signer,
E: Encrypter,
[src]
S: Signer,
E: Encrypter,
fn clone(&self) -> OutboundWire<S, E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug, E: Debug> Debug for OutboundWire<S, E> where
S: Signer,
E: Encrypter,
[src]
S: Signer,
E: Encrypter,
Auto Trait Implementations
impl<S, E> RefUnwindSafe for OutboundWire<S, E> where
E: RefUnwindSafe,
S: RefUnwindSafe,
E: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, E> Send for OutboundWire<S, E> where
E: Send,
S: Send,
E: Send,
S: Send,
impl<S, E> Sync for OutboundWire<S, E> where
E: Sync,
S: Sync,
E: Sync,
S: Sync,
impl<S, E> Unpin for OutboundWire<S, E> where
E: Unpin,
S: Unpin,
E: Unpin,
S: Unpin,
impl<S, E> UnwindSafe for OutboundWire<S, E> where
E: UnwindSafe,
S: UnwindSafe,
E: UnwindSafe,
S: UnwindSafe,
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> Same<T> for T
type Output = T
Should always be Self
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,