Trait logins::ValidateAndFixup

source ·
pub trait ValidateAndFixup {
    // Required method
    fn validate_and_fixup(&self, fixup: bool) -> Result<Option<Self>>
       where Self: Sized;

    // Provided methods
    fn check_valid(&self) -> Result<()>
       where Self: Sized { ... }
    fn fixup(self) -> Result<Self>
       where Self: Sized { ... }
    fn maybe_fixup(&self) -> Result<Option<Self>>
       where Self: Sized { ... }
}

Required Methods§

source

fn validate_and_fixup(&self, fixup: bool) -> Result<Option<Self>>
where Self: Sized,

Provided Methods§

source

fn check_valid(&self) -> Result<()>
where Self: Sized,

source

fn fixup(self) -> Result<Self>
where Self: Sized,

source

fn maybe_fixup(&self) -> Result<Option<Self>>
where Self: Sized,

Implementors§