pub struct RouterSide {
pub name: &'static str,
pub tx_handler: RouterTxHandlerFn,
pub opts: RouterSideOptions,
}Expand description
One side of the router – a name + TX handler.
Fields§
§name: &'static str§tx_handler: RouterTxHandlerFn§opts: RouterSideOptionsTrait Implementations§
Source§impl Clone for RouterSide
impl Clone for RouterSide
Source§fn clone(&self) -> RouterSide
fn clone(&self) -> RouterSide
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RouterSide
impl !UnwindSafe for RouterSide
impl Freeze for RouterSide
impl Send for RouterSide
impl Sync for RouterSide
impl Unpin for RouterSide
impl UnsafeUnpin for RouterSide
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