Struct rustun::server::BindingHandler
source · pub struct BindingHandler;
Expand description
Example BINDING
request handler.
Note that this is provided only for test and example purposes.
Trait Implementations§
source§impl Clone for BindingHandler
impl Clone for BindingHandler
source§fn clone(&self) -> BindingHandler
fn clone(&self) -> BindingHandler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BindingHandler
impl Debug for BindingHandler
source§impl Default for BindingHandler
impl Default for BindingHandler
source§fn default() -> BindingHandler
fn default() -> BindingHandler
Returns the “default value” for a type. Read more
source§impl HandleMessage for BindingHandler
impl HandleMessage for BindingHandler
source§fn handle_call(
&mut self,
peer: SocketAddr,
request: Request<Self::Attribute>
) -> Action<Response<Self::Attribute>>
fn handle_call( &mut self, peer: SocketAddr, request: Request<Self::Attribute> ) -> Action<Response<Self::Attribute>>
Handles a request message. Read more
source§fn handle_channel_error(&mut self, error: &Error)
fn handle_channel_error(&mut self, error: &Error)
Handles an error before the channel drops by the error. Read more
source§fn handle_cast(
&mut self,
peer: SocketAddr,
indication: Indication<Self::Attribute>
) -> Action<Never>
fn handle_cast( &mut self, peer: SocketAddr, indication: Indication<Self::Attribute> ) -> Action<Never>
Handles an indication message. Read more
source§fn handle_invalid_message(
&mut self,
peer: SocketAddr,
message: InvalidMessage
) -> Action<Response<Self::Attribute>>
fn handle_invalid_message( &mut self, peer: SocketAddr, message: InvalidMessage ) -> Action<Response<Self::Attribute>>
Handles an invalid incoming message. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BindingHandler
impl Send for BindingHandler
impl Sync for BindingHandler
impl Unpin for BindingHandler
impl UnwindSafe for BindingHandler
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