pub struct UpstreamEndpoint {
pub url: Url,
pub transport: UpstreamTransport,
pub credentials: Option<Credentials>,
pub request_timeout: Duration,
pub media_idle_timeout: Duration,
pub follow_redirects: bool,
pub allow_cross_origin_redirect: bool,
pub resolved: Option<SocketAddr>,
pub jitter: JitterBufferConfig,
}Fields§
§url: Url§transport: UpstreamTransport§credentials: Option<Credentials>§request_timeout: Duration§media_idle_timeout: Duration§follow_redirects: bool§allow_cross_origin_redirect: bool§resolved: Option<SocketAddr>Resolved peer address used to pin DNS (the URL host is kept for SNI).
jitter: JitterBufferConfigImplementations§
Source§impl UpstreamEndpoint
impl UpstreamEndpoint
pub fn new(url: Url, transport: UpstreamTransport) -> Self
Trait Implementations§
Source§impl Clone for UpstreamEndpoint
impl Clone for UpstreamEndpoint
Auto Trait Implementations§
impl Forget for UpstreamEndpoint
impl Freeze for UpstreamEndpoint
impl Move for UpstreamEndpoint
impl RefUnwindSafe for UpstreamEndpoint
impl Send for UpstreamEndpointwhere
RawVecInner: Send,
impl Sync for UpstreamEndpointwhere
RawVecInner: Sync,
impl Unpin for UpstreamEndpoint
impl UnsafeUnpin for UpstreamEndpoint
impl UnwindSafe for UpstreamEndpointwhere
RawVecInner: UnwindSafe,
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