[−][src]Struct arwa::Location
Methods
impl Location
[src]
pub fn href(&self) -> Result<String, SecurityError>
[src]
pub fn protocol(&self) -> Result<String, SecurityError>
[src]
pub fn host(&self) -> Result<String, SecurityError>
[src]
pub fn hostname(&self) -> Result<String, SecurityError>
[src]
pub fn port(&self) -> Result<String, SecurityError>
[src]
pub fn pathname(&self) -> Result<String, SecurityError>
[src]
pub fn search(&self) -> Result<String, SecurityError>
[src]
pub fn hash(&self) -> Result<String, SecurityError>
[src]
pub fn origin(&self) -> Result<String, SecurityError>
[src]
pub fn assign(&self, url: &str) -> Result<(), LocationAssignError>
[src]
pub fn replace(&self, url: &str) -> Result<(), SyntaxError>
[src]
pub fn reload(&self) -> Result<(), SecurityError>
[src]
pub fn reload_forced(&self) -> Result<(), SecurityError>
[src]
Trait Implementations
impl AsRef<Location> for Location
[src]
impl From<Location> for Location
[src]
impl From<Location> for Location
[src]
Auto Trait Implementations
impl RefUnwindSafe for Location
impl !Send for Location
impl !Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,