pub trait ProxyChannelFor<D: ResourceDialect>: Debug + ChannelLike {
type Boxed: ProxyChannelBox<D>;
type Error: Into<TransportError>;
type HandleDisposition: HandleDispositionFor<D>;
// Required methods
fn boxed(self) -> Self::Boxed;
fn write_etc(
&self,
bytes: &[u8],
handles: &mut [Self::HandleDisposition],
) -> Result<(), Option<Self::Error>>;
}
Expand description
Channel used for proxies in a particular dialect.
Required Associated Types§
Sourcetype Boxed: ProxyChannelBox<D>
type Boxed: ProxyChannelBox<D>
Box we put around a ProxyChannel
when using it within a client.
Sourcetype Error: Into<TransportError>
type Error: Into<TransportError>
Type of the errors we get from this proxy channel.
Sourcetype HandleDisposition: HandleDispositionFor<D>
type HandleDisposition: HandleDispositionFor<D>
Handle disposition used in this dialect.
This is for sending handles, and includes the intended type/rights.