pub struct CAgent {
put: CPut,
config: TlsPutConfig,
deframer: MessageDeframer,
c_agent: AGENT,
}
Fields§
§put: CPut
§config: TlsPutConfig
§deframer: MessageDeframer
§c_agent: AGENT
Implementations§
Trait Implementations§
source§impl Put<TLSProtocolBehavior> for CAgent
impl Put<TLSProtocolBehavior> for CAgent
source§fn progress(&mut self) -> Result<(), Error>
fn progress(&mut self) -> Result<(), Error>
Process incoming buffer, internal progress, can fill in the output buffer
fn descriptor(&self) -> &AgentDescriptor<TLSDescriptorConfig>
source§fn describe_state(&self) -> String
fn describe_state(&self) -> String
Returns a textual representation of the state in which self is
source§fn is_state_successful(&self) -> bool
fn is_state_successful(&self) -> bool
Checks whether the Put is in a good state
source§impl Stream<TLSProtocolBehavior> for CAgent
impl Stream<TLSProtocolBehavior> for CAgent
fn add_to_inbound(&mut self, message: &ConcreteMessage)
source§fn take_message_from_outbound(
&mut self,
) -> Result<Option<<TLSProtocolBehavior as ProtocolBehavior>::OpaqueProtocolMessageFlight>, Error>
fn take_message_from_outbound( &mut self, ) -> Result<Option<<TLSProtocolBehavior as ProtocolBehavior>::OpaqueProtocolMessageFlight>, Error>
Takes a single TLS message from the outbound channel
Auto Trait Implementations§
impl Freeze for CAgent
impl !RefUnwindSafe for CAgent
impl !Send for CAgent
impl !Sync for CAgent
impl Unpin for CAgent
impl !UnwindSafe for CAgent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.