[−][src]Struct keynesis::passport::Passport
Implementations
impl Passport
[src]
pub fn prepare_next_event(&self, action: EventAction) -> Event
[src]
pub fn new(id: &PrivateIdentity) -> Self
[src]
pub fn new_with(event: Event) -> Result<Self, PassportError>
[src]
pub fn load_event(&mut self, event: Event) -> Result<(), PassportError>
[src]
pub fn check_identity(&self, id: &PublicIdentity) -> bool
[src]
pub fn push(
&mut self,
id: &PrivateIdentity,
action: EventAction
) -> Result<EventId, PassportError>
[src]
&mut self,
id: &PrivateIdentity,
action: EventAction
) -> Result<EventId, PassportError>
pub fn iter(&self) -> impl Iterator<Item = &Event>
[src]
Trait Implementations
impl Clone for Passport
[src]
impl Debug for Passport
[src]
impl Eq for Passport
[src]
impl PartialEq<Passport> for Passport
[src]
impl StructuralEq for Passport
[src]
impl StructuralPartialEq for Passport
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Passport
impl !Send for Passport
impl !Sync for Passport
impl Unpin for Passport
impl UnwindSafe for Passport
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,