Packages

class UnsafeProtocol extends Unsafe

An annotation meant to warn users on functions that are using an error prone protocol.

An example of such a protocol is the one defined at reactive-streams.org, being unsafe because its safe usage requires deep knowledge of it, having lots of cases in which the compiler does not and cannot help, leading to undefined behavior if not careful.

Only use such functions if familiar with the underlying protocol.

Source
Unsafe.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnsafeProtocol
  2. Unsafe
  3. StaticAnnotation
  4. Annotation
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UnsafeProtocol()