Bas-Man's Musings
  • Home
  • Categories
    Series Categories Tags
  • Projects
    GitHub Line Notification
  • Docs
    Bind DNS Setup Gmail & Zapier
  • References
    Python Perl Rust Git LaTeX General
  • Snippets
    Python Perl Rust Git C++ Routers General
  • About

enum


Enum to Encapulate Errors

 Posted on November 7, 2021  |  1 minutes  |  109 words  |  Bas-Man

Creating a enum to encapsulate Errors.

[Read More]
rust  enum  error 

Swift: Deconstruct SPF: asMechanism with Qualifier

 Posted on May 27, 2021  |  2 minutes  |  380 words  |  Bas-Man

Hi,

In this article, I will walk through how I re-implemented the enum for Qualifier and MechanismKind. I will also deliver a working asMechanism() function. The diff is here

[Read More]
swift  learning  spf  enum  rawValue 

Swift: Deconstruct SPF - Qualifier and MechanismKind

Learning Swift: Enum

 Posted on May 27, 2021  |  4 minutes  |  716 words  |  Bas-Man

In this article I will be looking at defining the enums for Qualifier and MechanismKind. I will also be adding tests to ensure that the functions work as expected. Further I will implement a simple asMechanism() as a proof of concept.

[Read More]
swift  learning  spf  beginner  enum 

Swift: Deconstruct SPF an Outline and Background

 Posted on May 17, 2021  |  3 minutes  |  491 words  |  Bas-Man

What is SPF

If you have not followed my rust series on deconstructing SPF you can check it out here.

[Read More]
swift  learning  spf  beginner  enum  struct 

Bas-Man  • © 2020 - 2021  •  Bas-Man's Musings

Hugo v0.93.2 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll

Privacy | Contact

By using this site, you agree to our use of cookies. We use cookies on this website to give you the best experience on our site. To find out more, read our privacy policy.