pub struct MonaRaw;
Expand description
Generator for 2channel’s nama key tripcodes (生キートリップ).
This generator is failable so only implements TripcodeGeneratorFailable
.
Trait Implementations§
Source§impl TripcodeGeneratorFailable for MonaRaw
impl TripcodeGeneratorFailable for MonaRaw
Source§type Hash = FourchanHash
type Hash = FourchanHash
The type of hash value that represents resulting tripcodes. Read more
Source§fn try_hash<P: AsRef<[u8]>>(password: P) -> Option<Mona10Hash>
fn try_hash<P: AsRef<[u8]>>(password: P) -> Option<Mona10Hash>
Attempts to generate a hash value from
password
. Read moreSource§fn try_generate<P: AsRef<[u8]>>(password: P) -> Option<String>
fn try_generate<P: AsRef<[u8]>>(password: P) -> Option<String>
Attempts to generate a tripcode from
password
. Read moreSource§fn try_append<P: AsRef<[u8]>>(password: P, dst: &mut String) -> Option<()>
fn try_append<P: AsRef<[u8]>>(password: P, dst: &mut String) -> Option<()>
Attempts to generate a tripcode and append it to a
String
. Read moreSource§fn try_write<P, W>(password: P, dst: &mut W) -> Option<Result<()>>
fn try_write<P, W>(password: P, dst: &mut W) -> Option<Result<()>>
Attempts to generate a tripcode into a
Write
. Read moreSource§fn try_generate_sjis<P: AsRef<[u8]>>(password: P) -> Option<Vec<u8>>
fn try_generate_sjis<P: AsRef<[u8]>>(password: P) -> Option<Vec<u8>>
Attempts to generate a tripcode in Shift-JIS encoding. Read more
Auto Trait Implementations§
impl Freeze for MonaRaw
impl RefUnwindSafe for MonaRaw
impl Send for MonaRaw
impl Sync for MonaRaw
impl Unpin for MonaRaw
impl UnwindSafe for MonaRaw
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more