pub struct DestinationWrapper {
pub destination: Destination,
pub router: CardinalRouter,
pub has_routes: bool,
/* private fields */
}Fields§
§destination: Destination§router: CardinalRouter§has_routes: boolImplementations§
Source§impl DestinationWrapper
impl DestinationWrapper
pub fn new(destination: Destination, router: Option<CardinalRouter>) -> Self
pub fn get_inbound_middleware(&self) -> &Vec<Middleware>
pub fn get_outbound_middleware(&self) -> &Vec<Middleware>
Auto Trait Implementations§
impl !Freeze for DestinationWrapper
impl !RefUnwindSafe for DestinationWrapper
impl Send for DestinationWrapper
impl Sync for DestinationWrapper
impl Unpin for DestinationWrapper
impl UnwindSafe for DestinationWrapper
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