pub struct HttpInboundAdapterSpec { /* private fields */ }Implementations§
Source§impl HttpInboundAdapterSpec
impl HttpInboundAdapterSpec
pub fn new<H: Into<String>, P: Into<String>, RC: Into<String>>( host: H, port: u16, path: P, methods: Vec<String>, request_channel: RC, ) -> Self
pub fn with_id<ID: Into<String>, H: Into<String>, P: Into<String>, RC: Into<String>>( id: ID, host: H, port: u16, path: P, methods: Vec<String>, request_channel: RC, ) -> Self
pub fn with_reply<H: Into<String>, P: Into<String>, RC: Into<String>, R: Into<String>>( host: H, port: u16, path: P, methods: Vec<String>, request_channel: RC, reply_channel: R, ) -> Self
pub fn with_id_reply<ID: Into<String>, H: Into<String>, P: Into<String>, RC: Into<String>, R: Into<String>>( id: ID, host: H, port: u16, path: P, methods: Vec<String>, request_channel: RC, reply_channel: R, ) -> Self
pub fn id(&self) -> Option<&str>
pub fn host(&self) -> &str
pub fn port(&self) -> u16
pub fn path(&self) -> &str
pub fn methods(&self) -> &[String]
pub fn request_channel(&self) -> &str
pub fn reply_channel(&self) -> Option<&str>
pub fn set_id(&mut self, id: String)
Trait Implementations§
Source§impl Clone for HttpInboundAdapterSpec
impl Clone for HttpInboundAdapterSpec
Source§fn clone(&self) -> HttpInboundAdapterSpec
fn clone(&self) -> HttpInboundAdapterSpec
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for HttpInboundAdapterSpec
impl RefUnwindSafe for HttpInboundAdapterSpec
impl Send for HttpInboundAdapterSpec
impl Sync for HttpInboundAdapterSpec
impl Unpin for HttpInboundAdapterSpec
impl UnwindSafe for HttpInboundAdapterSpec
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