Add annotations for things which we cannot (yet) expose
[rust-lightning] / lightning / src / ln / msgs.rs
index 22bca6ee19c4e71624cbe20d33dec1d248945fde..22eefb226e71317f4d145d41c831949ceccece1e 100644 (file)
@@ -646,6 +646,7 @@ pub enum HTLCFailChannelUpdate {
 /// As we wish to serialize these differently from Option<T>s (Options get a tag byte, but
 /// OptionalFeild simply gets Present if there are enough bytes to read into it), we have a
 /// separate enum type for them.
+/// (C-not exported) due to a free generic in T
 #[derive(Clone, PartialEq, Debug)]
 pub enum OptionalField<T> {
        /// Optional field is included in message