pub struct UriRelativeRedirectTargetResolver { /* private fields */ }Implementations§
Source§impl UriRelativeRedirectTargetResolver
impl UriRelativeRedirectTargetResolver
pub fn from_config( config: RedirectTargetConfig, ) -> Result<Self, RedirectTargetError>
pub fn resolve_redirect_target( &self, requested_redirect_target: Option<&str>, ) -> Result<UriRelativeString, RedirectTargetError>
Trait Implementations§
Source§impl Clone for UriRelativeRedirectTargetResolver
impl Clone for UriRelativeRedirectTargetResolver
Source§fn clone(&self) -> UriRelativeRedirectTargetResolver
fn clone(&self) -> UriRelativeRedirectTargetResolver
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 UriRelativeRedirectTargetResolver
impl RefUnwindSafe for UriRelativeRedirectTargetResolver
impl Send for UriRelativeRedirectTargetResolver
impl Sync for UriRelativeRedirectTargetResolver
impl Unpin for UriRelativeRedirectTargetResolver
impl UnsafeUnpin for UriRelativeRedirectTargetResolver
impl UnwindSafe for UriRelativeRedirectTargetResolver
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