[][src]Struct krill::commons::api::Handle

pub struct Handle { /* fields omitted */ }

Methods

impl Handle[src]

pub fn as_str(&self) -> &str[src]

pub fn from_str_unsafe(s: &str) -> Self[src]

pub fn from_path_unsafe(path: &PathBuf) -> Self[src]

pub fn to_path_buf(&self) -> PathBuf[src]

We replace "/" with "+" and "" with "=" to make file system safe names.

Trait Implementations

impl AsRef<str> for Handle[src]

impl AsRef<[u8]> for Handle[src]

impl Clone for Handle[src]

impl Eq for Handle[src]

impl PartialEq<Handle> for Handle[src]

impl Debug for Handle[src]

impl Display for Handle[src]

impl FromStr for Handle[src]

type Err = InvalidHandle

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self, Self::Err>[src]

Accepted pattern: [-_A-Za-z0-9/]{1,255} See Appendix A of RFC8183.

impl Hash for Handle[src]

impl StructuralPartialEq for Handle[src]

impl StructuralEq for Handle[src]

impl Serialize for Handle[src]

impl<'de> Deserialize<'de> for Handle[src]

Auto Trait Implementations

impl Send for Handle

impl Sync for Handle

impl Unpin for Handle

impl UnwindSafe for Handle

impl RefUnwindSafe for Handle

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err