[][src]Struct secret_tree::Name

pub struct Name(_);

Name of a child SecretTree.

Used in the child() method of SecretTree; see its documentation for more info.

Methods

impl Name[src]

pub fn new(name: &str) -> Self[src]

Creates a new Name.

The supplied string should be no more than MAX_NAME_LEN bytes in length and should not contain zero bytes.

Trait Implementations

impl PartialEq<Name> for Name[src]

impl Eq for Name[src]

impl Debug for Name[src]

impl Copy for Name[src]

impl Clone for Name[src]

Auto Trait Implementations

impl Unpin for Name

impl Send for Name

impl Sync for Name

impl UnwindSafe for Name

impl RefUnwindSafe for Name

Blanket Implementations

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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