[−][src]Trait tink_core::keyset::Writer
Writer
knows how to write a Keyset
or an
EncryptedKeyset
to some source.
Required methods
fn write(&mut self, keyset: &Keyset) -> Result<(), TinkError>
fn write_encrypted(&mut self, keyset: &EncryptedKeyset) -> Result<(), TinkError>
Implementors
impl Writer for MemReaderWriter
[src]
fn write(&mut self, keyset: &Keyset) -> Result<(), TinkError>
[src]
Write keyset to memory.
fn write_encrypted(&mut self, keyset: &EncryptedKeyset) -> Result<(), TinkError>
[src]
Write encrypted keyset to memory.
impl<T: Write> Writer for BinaryWriter<T>
[src]
fn write(&mut self, keyset: &Keyset) -> Result<(), TinkError>
[src]
Write the keyset to the underlying std::io::Write
.
fn write_encrypted(&mut self, keyset: &EncryptedKeyset) -> Result<(), TinkError>
[src]
Write the encrypted keyset to the underlying std::io::Write
.
impl<T: Write> Writer for JsonWriter<T>
[src]
fn write(&mut self, keyset: &Keyset) -> Result<(), TinkError>
[src]
Write the keyset to the underlying std::io::Write
.
fn write_encrypted(&mut self, keyset: &EncryptedKeyset) -> Result<(), TinkError>
[src]
Write the encrypted keyset to the underlying std::io::Write
.