File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -361,8 +361,11 @@ where
361361 fn read < R : LengthRead > ( reader : & mut R , params : P ) -> Result < Self , DecodeError > ;
362362}
363363
364- /// A trait that various higher-level LDK types implement allowing them to be read in
365- /// from a [`Read`], requiring the implementer to provide the total length of the read.
364+ /// A trait that various LDK types implement allowing them to be read in from a [`Read`], requiring
365+ /// the implementer to provide the total length of the read.
366+ ///
367+ /// Any type that implements [`Readable`] also automatically has a [`LengthReadable`]
368+ /// implementation, but some types, most notably onion packets, only implement [`LengthReadable`].
366369pub trait LengthReadable
367370where
368371 Self : Sized ,
You can’t perform that action at this time.
0 commit comments