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
361
361
fn read < R : LengthRead > ( reader : & mut R , params : P ) -> Result < Self , DecodeError > ;
362
362
}
363
363
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`].
366
369
pub trait LengthReadable
367
370
where
368
371
Self : Sized ,
You can’t perform that action at this time.
0 commit comments