Rolodex v0.4.0 Rolodex.Writer behaviour
A behavior to write to arbitrary entities.
Link to this section Summary
Callbacks
Closes the given IO.device()
Returns an open IO.device()
for writing
Should implement a way to write to a IO.device()
Link to this section Callbacks
Link to this callback
close(arg0)
Closes the given IO.device()
.
Link to this callback
init(arg0)
init(arg0)
init(Rolodex.Config.t()) :: {:ok, IO.device()} | {:error, any()}
init(Rolodex.Config.t()) :: {:ok, IO.device()} | {:error, any()}
Returns an open IO.device()
for writing.
Link to this callback
write(arg0, arg1)
Should implement a way to write to a IO.device()
.